Head

Category:HTML Tags

Head

This tag is used as a container for metadata: metadata is data about the HTML document, such as document title, character set, style sheets, links, and scripts.

Examples

Using <head>to contain metadata about the HTML document.

<html>
  <head>
    <meta charset="utf-8">
    <title>HTML Basics </title>
    <link rel="stylesheet" href="style.css" type="text/css" />
  </head>
  </body>
</html>

Syntax

<head></head>

Tips

  • Make sure you don’t put any content in the <head> tag.
  • The <head> is placed inside the <html> tags and before the <body> tags.

Additional Information

For more information, see http://www.w3schools.com/tags/tag_head.asp

Found a bug in the documentation? Let us know at documentation@code.org