scopeName property

Gets the namespace defined for the element.

This property is not supported for Windows apps using JavaScript.


HRESULT value = object.get_scopeName(* p);

Property values

Type: BSTR

A BSTR that specifies one of the following values.


Default. All standard HTML tags.


Namespace prefix that is used with the custom tags. This namespace is declared in the document by using the XMLNS attribute of the html element.


To declare the namespace in the document, use the xmlns attribute of the html element.

Download the HTC for the sample below:

See also

Using Custom Tags in Internet Explorer