Forum Moderators: open
Which is worth the time if you care about the details...but overall, I doubt it's needed in most cases.
Can someone explain briefly what this is for and why this value might differ from the default?
Thanks.
xmlns stands for "XML namespace". A namespace is a unique identifier for a variant of XML. It is a method to avoid conflicts with different XML variants which use the same element names. But all that's detail, as you are talking about XHTML here, which you're not serving as XML but as HTML. As such, the
xmlns is ignored because the parser is seeing HTML not XML. The browser will consider it as an unknown attribute and simply discard it. So your best bet is to remove it, remove the XHTML doctype and switch to a full HTML 4.01 one, remove the trailing slashes off the meta and stylesheet link elements, and just stick to good old HTML. :)