Carbon theme doctype error - html lang

Infinitee
Infinitee's picture

Joined: 2008-05-01
Posts: 9
Posted: Sat, 2008-05-03 09:49

FYI: While validating my Gallery2 installation, http://validator.w3.org/ pointed out that the tag: <html lang="{g->language}">

Should be:

<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{g->language}">

To validate I just replaced:

<html lang="{g->language}">

with

<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{g->language}">

I hope this helps others out there,

Ralph

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-05-03 16:21