doctype

Gets an object representing the document type declaration associated with the current document.

MDN Reference