TOC PREV NEXT INDEX

domref



doctype


Returns the Document Type Definition (DTD) of the current document.

Syntax

docType = document.DocumentType
 

Parameters

docType is a string representing the DTD, if any, of the current document.

Example

None.

Notes

DocumentType attribute is a read-only property. It returns NULL if there is no DTD for the current document.

Specification

docType


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX