Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

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

Always use a language attribute on the <html> tag to declare the default language of the text in the page, using the lang property.

Example:

<html lang="fr">

Learn more:

Related W3C validator issues