prefix
< dom | properties
prefix
This page has been flagged with the following issues:
High-level issues:
W3C Recommendation
Summary
Sets or retrieves the prefix of the fully qualified XML declaration for a node.
Property of dom/Node
Syntax
var prefix = node.prefix; node.prefix = newPrefix;
Return Value
Returns an object of type String.
The prefix portion of the qualified name of the node.
Needs Examples: This section should include examples.
Usage
In XML documents, elements can be declared using qualified names, which consist of a prefix and a local name. This property returns the former value. For more information, see W3C Namespaces in XML.
Related specifications
| Specification | Status | Related Changes |
|---|---|---|
| DOM Level 3 Core | Recommendation | Section 1.4 |
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related pages (MSDN)
aappletattributeaudiobuttondivdocumentdocumentTypeProcessingInstructionframeiframeimginput type=buttoninput type=checkboxinput type=fileinput type=hiddeninput type=imageinput type=passwordinput type=radioinput type=resetinput type=submitinput type=textlabellegendmarqueemediaobjectoptGroupoptionselectsourcespantabletextAreaTextNodevideoReferencelocalNamenamespaceURI
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here