0

friends I dont understand that,if we dont use <html> tag than also how my code is running.

14th Jul 2018, 3:12 PM
Naman Jha
Naman Jha - avatar
3 Réponses
+ 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☺️☺️.
14th Jul 2018, 3:40 PM
Meet Mehta
Meet Mehta - avatar
+ 6
browsers are very forgiving. they attempt to do what is asked even when it is totally wrong.
14th Jul 2018, 3:17 PM
John Wells
John Wells - avatar
+ 2
thanks sir
14th Jul 2018, 3:19 PM
Naman Jha
Naman Jha - avatar