/

HTML / CSS / JavaScript Tutorial

JavaScript DOM own property: doctype

[this page | pdf | back links]

The doctype property of the JavaScript DOM returns a DocumentType object specifying the doctype of the document. The DocumentType object in turn has a name property which returns the name of the doctype.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile