HomeReferencesHTML Tags

HTML Tag: head

The header of an HTML document where information about the document is placed. You must use the title element within the head element and meta, style, script, base and link can also be used.

You must use this element and it should be used just once. It must start immediately after the opening html tag and end directly before the opening body tag.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Required Attributes

  • None.

Optional Attributes

  • profile can be used to specify the location of information about the document. The value can be a URI or a number of URI's separated by spaces.
  • I18n attributes

Example


<html>
	<head>
		<title>Shiny Gongs</title>
		<link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
		<script src="/script/somescript.js" type="text/javascript"></script>
	</head>
	<body>
		[stuff]
	</body>
</html>