CSSNamespaceRule.namespaceURI

The CSSNamespaceRule.namespaceURI read-only property returns a DOMString containing the text of the URI of the given namespace.

Syntax

var namespaceURI = CSSNamespaceRule.namespaceURI

Returns

A DOMString containing a URI.

Specifications

Specification Status Comment
CSS Object Model (CSSOM)
The definition of 'namespaceURI' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
namespaceURIChrome Full support 47Edge Full support 12Firefox Full support 59IE No support NoOpera Full support 36Safari Full support YesWebView Android Full support 47Chrome Android Full support 47Firefox Android Full support 59Opera Android Full support 36Safari iOS Full support YesSamsung Internet Android Full support 5.0

Legend

Full support  
Full support
No support  
No support