138k views
4 votes
What is the function of the < !Doctype > tag?

User Fbrandel
by
4.9k points

2 Answers

4 votes
It specifies the document type.
User Bloomca
by
5.2k points
3 votes

Answer:

The answer is "Define the type of document".

Step-by-step explanation:

  • The < !Doctype > is use as a declaration is not a tag. The < !Doctype > is use in HTML that stands for hyper text markup langauge.
  • It is used as an instruction to the web browser that represents the version of the HTML page. It is used before the Html tag.
  • There are several version of the HTML that are "HTML 3.2, HTML 4.01, XHTML, and HTML5". Except of HTML5 we use the DTD that stands for document type declaration it is basedon SGML. It specifies the rules for markup language.
User Pavel Kataykin
by
5.3k points