Is it mandatory to have <html> and </html> tag in the code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Is it mandatory to have <html> and </html> tag in the code?

Consider in different cases.

18th Nov 2017, 2:44 AM
VARUN KUMAR PADALA
VARUN KUMAR PADALA - avatar
1 Answer
+ 1
it is best practice to use it. It offers better organization of your code and distribution of the CSS classes.
18th Nov 2017, 4:54 AM
Claudiu Stefan Haidu
Claudiu Stefan Haidu - avatar