Why in HTML5, we have to use <!DOCTYPE html> first ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why in HTML5, we have to use <!DOCTYPE html> first ?

Please reply...

17th Dec 2020, 3:51 AM
Carbon dioxide
Carbon dioxide - avatar
4 Answers
+ 3
Thank you for the answer Cheenu💕TM[INACTIVE] and ÃKR ... That answer increase my knowledge... I say thank you...
17th Dec 2020, 8:52 AM
Carbon dioxide
Carbon dioxide - avatar
+ 2
Thank you for the answer Jehovah Rohi James Odeyale ... I say thank you...
17th Dec 2020, 12:27 PM
Carbon dioxide
Carbon dioxide - avatar
+ 1
That's the doc declaration in HTML5 telling the browser it's HTML 5
17th Dec 2020, 11:59 AM
Jehovah Rohi James Odeyale
Jehovah Rohi James Odeyale - avatar