Categories

Oct 23, 2019 in HTML
Q:

What is < !DOCTYPE>? Is it necessary to use in HTML5 ?

1 Answer

Oct 23, 2019

The < !DOCTYPE> is an instruction to the web browser about what version of HTML the page is written in. AND The < !DOCTYPE> tag does not have an end tag and It is not case sensitive.

The < !DOCTYPE> declaration must be the very first thing in HTML5 document, before the tag. As In HTML 4.01, all < ! DOCTYPE > declarations require a reference to a Document Type Definition (DTD), because HTML 4.01 was based on Standard Generalized Markup Language (SGML). Where as HTML5 is not based on SGML, and therefore does not require a reference to a Document Type Definition (DTD).

Click here to read more about HTML
Click here to read more about Insurance

Related questions

Madanswer
Oct 23, 2019 in HTML
Oct 23, 2019 in HTML
Jun 27 in HTML
...