0
friends I dont understand that,if we dont use <html> tag than also how my code is running.
3 Answers
+ 4
Yes it works in all modern browser if we dont write html or head tags(All modern browser does it for us if we miss or dont write).
But its like hit or miss.
Specially old browser cant render page if html tag is missed.
Also you dont know which browser your user is using.
So its good practice to include these tags.
Hope this helpsâșïžâșïž.
+ 6
browsers are very forgiving. they attempt to do what is asked even when it is totally wrong.
+ 2
thanks sir