Estoy tratando de validar mi web, en el w3c y me da este error:
Cita:
El codigo al que hace referencia es de una galeria de fotos, el cual es este:# Warning Line 111, Column 27: character "<" is the first character of a delimiter but occurred as data
if (this.displayedPage < lastPage)
This message may appear in several cases:
* You tried to include the "<" character in your page: you should escape it as "<"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.
if (this.displayedPage < lastPage)
This message may appear in several cases:
* You tried to include the "<" character in your page: you should escape it as "<"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.
Código:
// Show appropriate next / prev page links if (this.displayedPage > 0) prevPageLink.css('visibility', 'visible'); var lastPage = this.getNumPages() - 1; if (this.displayedPage < lastPage) nextPageLink.css('visibility', 'visible');
Saludos!