Notation

草案
本页尚未完工.

已废弃
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

表示DTD表示(只读)。可以声明未解析实体的格式或正式声明文档的处理指令目标。从 node 继承方法和属性。它的 nodeName 是表示法名称。没有父节点。

属性

Notation.publicId 只读
Is a DOMString.
Notation.systemId 只读
Is a DOMString.

规范

Specification Status Comment
Document Object Model (DOM) Level 3 Core Specification
Notation
Obsolete No change
Document Object Model (DOM) Level 2 Core Specification
Notation
Obsolete No change
Document Object Model (DOM) Level 1 Specification
Notation
Obsolete Initial definition

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Notation
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
publicId
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
systemId
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

No support  
No support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.