doctype

The doctype read-only property of the Document interface is a DocumentType object representing the Doctype associated with the current document.

MDN Reference