Platform Support
| IE | Mozilla | Netscape | Opera | Safari | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
|---|---|---|---|---|---|---|---|---|
|
DocumentType Constructor() : DocumentType
Represents the <!DOCTYPE> of a document.
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no | ||
DocumentType() : DocumentTypeRepresents the <!DOCTYPE> of a document. Returns
|
||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|---|
|
entities
: NamedNodeMap
List of entities defined in the DTD.
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
|
||||||
|
internalSubset
: String
Contents of the DTD subset
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
|
||||||
|
name
: String
Name of the DTD.
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
|
||||||
|
notations
: NamedNodeMap
List of notations defined in this DTD
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
|
||||||
|
publicId
: String
The public identifier of the external subset
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
|
||||||
|
systemId
: String
The system identifier of the external subset
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
|
||||||
Remarks
This represents the Document. If a
document has a
Throughout the rest of the documentation in this object, the following sample DTD will be used to illustrate how the various properties work.
]>
]]>
References
Availability
HTML DOM Level 2|W3C
