What is !DOCTYPE in HTML?

A document type declaration, or DOCTYPE, is an instruction to the web browser about the particular version of HTML.

In HTML5 you can simple type following line for document type declaration:<!DOCTYPE html> in an HTML file.

Learn more about the similar topics:
HTML Page Structure
Exercises & Assignments
No Content Found.
Interview Questions & Answers
What is !DOCTYPE in HTML?