Is it necessary to include the <!DOCTYPE HTML> tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it necessary to include the <!DOCTYPE HTML> tag?

21st Feb 2016, 2:18 PM
Srishti Deou
Srishti Deou - avatar
3 Answers
+ 3
All browsers need the doctype. Without the DOCTYPE you are forcing the browsers to render in Quirks Mode.
23rd May 2016, 4:41 PM
James Flanders
0
yes
7th Jun 2016, 1:29 PM
Jhon Alex
Jhon Alex - avatar
0
yap its necessary, because doctype html, tell the browser which version of html is used
11th Jun 2016, 8:14 AM
frugence