Web Development

The Meaning Behind XMLNS

Added by on January 25th, 2009, filed under Web Development, XML

Ever wonder what xmlns such as the one used often in XHTML doctype (see below) means?

1
<html xmlns="http://www.w3.org/1999/xhtml">

xmlns is short for XML namespace and this specifies a unique url to represent the namespace for any custom tags used in the document. The one in the example is the standard namespace.

Good to note that IE 7 and below have no support for xmlns, big surprise? Not really.

Enjoy this Post?

Spread the word by promoting this post on FaceBook and Twitter.

What do you think?