HTML | DOM doctype Property
The DOM doctype property is used to return the doctype of any HTML document. The DocumentType object is the name property used to returns the name of the object. If there is no doctype declared in the document then it returns Null value.
Supported Browsers: The browser supported by DOM doctype property are listed below:
- Google Chrome
- Internet Explorer
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.