I AM not writting the tags <html> , body,head then also the content is showing on my browser why and how is it happening?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I AM not writting the tags <html> , body,head then also the content is showing on my browser why and how is it happening??

30th Aug 2018, 4:42 PM
KUNAL KULDEEP
KUNAL KULDEEP - avatar
2 Answers
+ 4
there are lot more surprises in html start with one tag and end with another tag . it will still work <H1> some text </H2>
30th Aug 2018, 6:00 PM
You
+ 1
Since, All the browser renders HTML, therefore, even without <html> and <body> tag, the code is executed. They just need a tag to execute.
30th Aug 2018, 5:06 PM
Sachin Artani
Sachin Artani - avatar