HTML DOM Document doctype
HTML DOM Document doctype Property
The doctype property is used to return a document doctype in the DocumentType object. It is a read-only property and it returns null if the doctype property is missing.
Syntax:-
Its syntax is:- document.doctype
Return:-
Its return is:- DocumentType object