What does DOCTYPE HTML mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

What does DOCTYPE HTML mean?

20th Jun 2020, 8:00 AM
Adityasricharan Illindala
Adityasricharan Illindala - avatar
2 Answers
+ 2
It is an instruction telling the browser what document type to expect. You might be seen <!DOCTYPE html> being used. It is used for the declaration of html5.
20th Jun 2020, 8:23 AM
ヽ(^。^)ノ✨ヽ(^。^)ノ - avatar
It tells the browser the type of document it's about to render.
20th Jun 2020, 8:08 AM
MILES CODER - avatar