+ 1
What is the use of head tag?
2 Respuestas
+ 1
When you open any web site the
1) The Head Tag will be loaded first in the Browser.
2)And then, Body Tag will be executed.
See this example.
1) The alert() get runs first. Then
2) <div> tag get executed.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title> <script>alert("I get executed first") </script>
</head>
<body>
<div>I get executed second.</div>
</body>
</html>
+ 1
Once check solo lessons