+ 2
html doctype
is doctype necessary in html 5
6 Réponses
+ 6
Yes it is necessary
+ 3
yes
+ 3
Yes because that line only tell that it is content of HTML 5
+ 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
+ 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.
0
Yes. It is necessary to run HTML5 in browser