Skip to main content

HTML Guide

This document appears to be written in English but the “html” start tag has X

Based on the content of the document, the W3C validator thinks that it’s written in English, but the lang property in the <html> element specifies a different language. Check the language of the document, if it matches the lang property you can safely ignore and mute this warning.

Example:

<html lang="fr">

Learn more:

Related W3C validator issues