ZVON > References > DOM1 Reference

doctype (attribute)

Owning interface and usage:  
Document.doctype

Member of these other interfaces :  
none

Readonly:   yes

Type:   DocumentType

Description:  
Stores the Document Type Declaration associated with document (or null if the DTD was not specified).


Example:
JavaScript:
  var output = document.doctype;
Output:
desired your browser
null