1} What if I use only " <html> ".Instead of writing "<DOCTYPE html>" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

1} What if I use only " <html> ".Instead of writing "<DOCTYPE html>"

"<DOCTYPE html>" <------ Benefits Of writing this Instead of "<html>" ???? Many people also mention the language as english..... so what should i write.......... ●And Why Not I Write Only <html>

30th Aug 2020, 5:24 AM
Kingfisher
Kingfisher - avatar
2 Answers
+ 3
<!DOCTYPE html> is used to make the browser aware that the code is in HTML5.
30th Aug 2020, 5:34 AM
Amal P Franglin
Amal P Franglin - avatar