TOC PREV NEXT INDEX

Put your logo here!


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

core


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX