html "errors" in w3 validator

Posted in: Newspaper
Post count: 18

Hi,
I am working in check my site in different tools, to improve seo, and the first one i tested was the validator of w3.org (to check html) and i got this messages… checking all the options in the template dashboard i didn’t find where to correct this.
Any idea?

– Consider adding a lang attribute to the html start tag to declare the language of this document.

– End of file seen without seeing a doctype first. Expected <!DOCTYPE html>.

– Element head is missing a required instance of child element title.

Thanks

Raul

Post count: 35449

Hi,

That validator finds errors in everything it seems, I believe you should not worry about that test, it is to strict. It finds errors anywhere, for example
https://blog.codinghorror.com/html-validation-does-it-matter/
It would be next to impossible to fix each of the issues it detects.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.