HTML Head Tag

Posted The: 26/04/2008 At: 18:17

Last Edited: 30/04/2009 At: 20:55

Contents:

The head tag in html, is used to mark the head section of the Document.

Example:

The head section holds the Title of the Document, and the meta tags such as:

  1. keywords
  2. Character Encoding
  3. Document Language
  4. Author
  5. Copyright

And many more.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">

  <head>
    <title>My first Website</title>
    <style type="text/css">

    html, body {
     height: 100%;
    }
    </style>
  </head>

  <body>
    <p>My first Website.</p>

  </body>

</html>

It may also link to External StyleSheet'(s), and/or contain Embedded Style'(s).

Comments: [0]

© Brugbart Webdesign