View Single Post
Old 11-25-2022, 02:35 PM   #6
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Gregg Bell View Post
1) Which is optimal, removing the lang attribute or making them all say "en-US"?
Make everything just say en-US:

Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
The problem in Post #1 was you accidentally had 1 "en-us" + 1 "en-US".

- - -

Side Note: What this is saying is:
  • This HTML is "US/American English"!

According to the specs, best practices are capitalizing the country.

While most programs would work perfectly fine with the lowercase version, always better to err on the side of the "more correcter way".
Tex2002ans is offline   Reply With Quote