HTML | PHP | Forum

HTML <head> tag


<head> - </head>

Definition and Usage

The HEAD element contains information about the current document, such as its title, keywords that may be useful to search engines, and other data that is not considered document content. Browsers do not generally render elements that appear in the HEAD as content. They may, however, make information in the HEAD available to users through other mechanisms.

The HEAD element contains header information about the document, such as its title, keywords, description, and style sheet. HEAD is required in all documents, but its start and end tags are always optional. The HEAD element is followed by the BODY

Optional Attributes

Attribute Value Description
profile URL A space separated list of  meta information about the page

Standard Attributes

dir, lang, xml:lang

For a full description, go to Standard Attributes.


Source Output

<title>Document's title</title>





Learn HTML
HTML Tutorial

HTML Reference
HTML by function
HTML by Alphabet

HTML events
HTML attributes
HTML color names

<h1> to <h6>


Copyright 2005-8 Sunilcare.  All Rights Reserved.
Comments or suggestions? Contact us.About us