Follow by Email

HTML5 Head Tags

Html heading which defined head of your html page. Usually used to add or include external files like CSS, scripts, meta description, title etc. Tags which can be used in the head are <script>, <styles>, <meta> and <title> tags.
Below example includes all the tags in an html head:

a) Including files in the head element




   <head>
    <title>AngularJS tutorials</title>
    <link href="https://tutespace.css" rel="stylesheet" type="text/css"></link>  
    <script src="https://www.blogger.com/ieretrofit.js" type="text/javascript"></script>
    
   </head>

b)  Embed style in the head element





   <head>
    <title>AngularJS tutorials</title>
    <link href="https://tutespace.css" rel="stylesheet" type="text/css"></link>
    <script src="https://www.blogger.com/ieretrofit.js" type="text/javascript"></script>
    
    <style type="text/css">
      #nav {
         display: none!important;
       }
      #selectnav1 {
         display: block;
         width: 200px;
       }
    </style>
   </head>