Before starting HTML why do we type this code-<!DOCTYPE html> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Before starting HTML why do we type this code-<!DOCTYPE html>

22nd May 2017, 3:51 AM
Roni Dey
Roni Dey - avatar
4 Answers
+ 6
It tells the browser which HTML version you're using.
22nd May 2017, 4:04 AM
CHMD
CHMD - avatar
+ 2
To tells the browser that u work on the HTML5. Which is the latest version of HTML.
22nd May 2017, 3:50 PM
Rajeev Jain
Rajeev Jain - avatar
+ 1
For supporting HTML5 elements
30th May 2017, 12:52 AM
Manab
Manab - avatar
0
thanx dosto bhagwan tumhara bhala kre😂😂😂😂
30th May 2017, 12:53 PM
Roni Dey
Roni Dey - avatar