Retrieves the document type declaration associated with the current document.
dhtml语法
[ odoctype = ] document.doctype
dhtml可能的值
oDocType |
Object that
receives the document type declaration.NULL | Default. Return value for HTML documents. |
|
The property is read-only.
The property has a default value of
NULL.
Remarks
For HTML documents the doctype property returns null as defined by the World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 standard.
是否符合公共标准
This property is defined in
W3C DOM Level 1 .
Applies To