Html 5 Head Tag

In the Html5 head tag used to Specify head place of the html document. Which is placed between at the opening <html> and closing </html> tag. The head tag is enclose other html tag that is title,description,keywords etc. we will to mostly use for head inside of <title>,<meta>,<script>,<base>,<link> and <style> tag.

Syntax:

<Html>
  <head>   ...   </head>
  <body>   </body>
</Html>

Example Code

<!DOCTYPE HTML>
<Html>
  <head> This is Title Head Tag </head>
  <body> See the broswer title bar </body>
</Html>

Out Put :



This is Title Head Tag
See This broswer title bar

In the above example This is Title Head Tag sentance is inside of <head> tag and See This broswer title bar sentance is inside of <body> tag.





Content