Doctype.name (Property)

The name of the DTD that the Doctype encapsulates.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 5.5
Internet Explorer - 5.5
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myDoctype.name

Property attributes:

ReadOnly