why we have to use html tag on the top of the code?

29th Mar 2017, 5:52 AM
digamber kalivemuka
4 Answers
+ 8
It is the root of the HTML DOM tree.
29th Mar 2017, 5:57 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 2
when u host your code the browsers will not know which language u used so the the code will not work. html is to tell the browser that html is used here.
29th Mar 2017, 8:56 AM
Amjad - avatar
+ 1
HTML5 allows writing without html-tags. But it is no good practice and will make problems eventually.
30th Mar 2017, 12:12 PM
Shi Ra
Shi Ra - avatar
i wrote code without using html tag.Its working..can i write programs without using it?
29th Mar 2017, 6:04 AM
digamber kalivemuka