0
Why they're closing head tag after body tag?
I don't know why but i have seen in many places </head> tag is written after closing body tag and i have read that close head tag before starting body.
3 Antworten
+ 2
That's a mistake, closing head before body starts is the correct way.
+ 1
<html>
<head>
<!--You can define css & js file here-->
<link rel="stylesheet" type="text/css" href="asset/css/style.css"/>
<script src="asset/js/main.js"><script/>
</head>
<body>
<!--This is your web content-->
<h1>Lorem ipsum dolor sit amet</h1>
</body>
</html>
0
but the program gets executed even