Easy Tutorial
❮ Met Win Scrollby Prop Checkbox Value ❯

HTML DOM namespaceURI Property

Element Object

Example

Returns the namespace URI of an XHTML document:

Output result:


Definition and Usage

The namespaceURI property returns the namespace URI of the selected node.

Note: Element nodes inherit the namespace from their parent node, so all elements in an XHTML document have the namespace URI "http://www.w3.org/1999/xhtml".


Browser Support

All major browsers support the namespaceURI property.

Note: Internet Explorer 8 and earlier versions do not support this property.


Syntax

Technical Details

Return Value: String, representing the URI of the node's namespace.
DOM Version Core Level 2 Node Object
--- ---

Element Object

❮ Met Win Scrollby Prop Checkbox Value ❯