Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Missing xmlns attribute for element html. : Edit Log

Here is the list of edits for this post
Missing xmlns attribute for element html.
When I ran the pages in W3C validator, I am getting the error:

--------------------------
Line 2, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml

Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
--------------------------

So I can goahead add this
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

INSTEAD of default <html>

thanks.
(sorry i mistakenly posted this in 'Gossammer Forums'.)

Last edited by:

hegu: May 17, 2009, 6:24 AM

Edit Log: