W3C home > Mailing lists > Public > www-validator@w3.org > July 2016

Re: lang="en"

From: Michael[tm] Smith <mike@w3.org>
Date: Mon, 4 Jul 2016 16:57:51 +0900
To: Dave McKelleb <dave@mckelleb.us>
Cc: www-validator@w3.org
Message-ID: <20160704075751.GB7359@sideshowbarker.net>
Dave McKelleb <dave@mckelleb.us>, 2016-07-03 03:16 -0600:
> Archived-At: <http://www.w3.org/mid/524c80ba-9a46-8c65-a843-42764e95883b@mckelleb.us>
> 
> Validator gives a warning, suggests /Consider adding |lang="en"| (or
> variant) to the |html| element start tag.
> /I add it [ <!DOCTYPE html lang="en"> ],

That’s adding it to the doctype, not the html element start tag.

It instead needs to be added to the html element, <html lang=en>

  —Mike

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Monday, 4 July 2016 07:58:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 4 July 2016 07:58:22 UTC