HBCMS更多的中文手册参考:

doctype Property

DHTML文档教程

Retrieves the document type declaration associated with the current document.

dhtml语法

[ odoctype = ] document.doctype

dhtml可能的值

oDocType Object that receives the document type declaration.
NULLDefault. 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 Non-Microsoft link.

Applies To

document