Intro to HTML: Head Tags
Home Learning Path LAMP HTML/CSS PHP MySQL JavaScript YouTube Blog PHP Fiddle

Intro to HTML: Head Tags

Quick Copy Boxes


<head> This is a head starting tag.

</head> This is an ending head tag.


      <!DOCTYPE html>
      <html>
        <head>

        </head>
      </html>
    

After the DOCTYPE and html tags, you will put head tags. The head usually contains CSS links, title, and maybe some CSS style.

There are other tags, such as scripts and meta tags, that you may also want to include in head tags.



    <!DOCTYPE html>
    <html>
      <head>
        <!-- Meta tags-->
        <meta> </meta>
        <!-- Links and Scripts-->
        <link rel="stylesheet" type="text/css" href="custom.css">
        <title>   <!-- title-->  </title>
        <style>
          /* CSS Code*/
        </style>
      </head>
    </html>