can we code html page without <html> and <body> tags ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

can we code html page without <html> and <body> tags ?

i saw some code in code playground that didn't have them

2nd Oct 2017, 9:59 PM
Marwa
1 Answer
+ 3
It might not work with some code, so i would suggest you to put the <html> tags. It is possible to code without the <body> tags by using <script>
3rd Oct 2017, 12:18 AM
Alex