Quackit Logo

Got a MySpace Page?

Get "www.yourname.com" for your MySpace page. Learn how >>.

HTML head Tag

Print Version
 

The HTML head tag is used for indicating the head section of the HTML document.

The head can contain other HTML tags that provide information about the document such as title, description, keywords etc. Most of this information is not displayed in the browser (although the title usually appears in the browser's title bar) but can be useful for search engines etc. The head tag is placed between the <html> and the <body> tags.

Example
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>HTML head tag</title>
</head>
<body style="background-color:orange">
Document content goes here
</body>
</html>
Attributes:
Attributes specific to this tag:
AttributeDescription
profileSpecifies the URI/URL of one or more meta data profiles.
Other Attributes:
AttributeDescription
langLanguage code
dirSpecifies the direction of the text

Also see the complete list of HTML tags


Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
                     
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!