Can anyone explain why we need to use <html>, <head>, and <body> tags? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can anyone explain why we need to use <html>, <head>, and <body> tags?

I always knew you need to use them, but why?

9th Sep 2017, 9:54 PM
SummerFace2015
SummerFace2015 - avatar
4 Answers
+ 4
No as in, th organistaion does!
9th Sep 2017, 11:28 PM
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ - avatar
+ 3
It makes your content more readable to the user
9th Sep 2017, 11:22 PM
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ - avatar
+ 3
And unless you're the inspect-element type ๐Ÿ˜‚
9th Sep 2017, 11:29 PM
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ - avatar
+ 1
the tag not required but we use the tag for organizing our code.
10th Sep 2017, 6:37 PM
Abhishek Shukla
Abhishek Shukla - avatar