could someone explain to me the difference between this way of opening a page
and this way?Code:<html>
thanks a lotCode:<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
| SitePoint Sponsor |





could someone explain to me the difference between this way of opening a page
and this way?Code:<html>
thanks a lotCode:<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >


Hi,
The second version is the correct way to specify the xml namespace in an xhtml documents.
Have a look here for some more information on the subject:Originally Posted by w3c
http://www.w3.org/TR/xhtml1/#normative
Hope that helps.
Paul





thanks a lot for the links. That helps...![]()
Huch, I did not even know about this! I mean all the sites I actually make are XHTML 1.1 Strict but I have never used this attributes. Well, seems like I have to add them...
Bookmarks