+ 2

html doctype

is doctype necessary in html 5

19th Nov 2020, 12:47 PM
MUHAMMAD HASSAN NAWAZ
MUHAMMAD HASSAN NAWAZ - avatar
10 Respuestas
+ 6
Yes it is necessary
19th Nov 2020, 10:38 PM
HAMYD KHADDA
HAMYD KHADDA - avatar
+ 3
yes
19th Nov 2020, 10:42 PM
Gleam hope
Gleam hope - avatar
+ 3
Yes because that line only tell that it is content of HTML 5
20th Nov 2020, 7:02 AM
Priyanshi
Priyanshi - avatar
+ 2
the doctype should be included. however, html is not a very strict language and browsers will interpret the document even if it has invalid html. Thus modern browsers will most likely interpret it correctly even if you do not include it
19th Nov 2020, 12:54 PM
John Doe
+ 1
The html doctype is use to let the browser know about your html version with which you made your webpage. And it is important to use it.
21st Nov 2020, 3:48 AM
Ronak Paul
Ronak Paul - avatar
0
Yes. It is necessary to run HTML5 in browser
7th Dec 2020, 7:50 AM
Shounak
Shounak - avatar