+ 1
Html and HTML5
What's the difference between <html> and <!doctype html>
3 Answers
+ 9
<!doctype html> is a declaration to the browser of the version of html u r using.
https://en.m.wikipedia.org/wiki/Document_type_declaration
And <html> is the the root of an html file. Without this tag ur code will not work.
+ 8
Cyber5 After writing <!doctype html> the html editors automatically sets the version htnl5.
0
how do I use it in the case of htlm5 Rohan Karan