Learning HTML 3.2 by Examples, section 5 Descriptions of HTML 3.2 tags:

HEAD - document head


The basic structure of an HTML document always consists of a head and a body. It is not necessary to explicitly enclose the head into a HEAD element.

Typical rendering

Using an explicit HEAD element does not affect the document rendering.

Basic syntax

TITLE element

Both the start and end tags can be omitted.

Possible attributes


Allowed context

The HTML element, which can be either implicit or explicit. Only one HEAD element is allowed in a document, and it must appear before the document body (which can be implicit or explicit).


Exactly one TITLE element, and optionally (in any order)


<TITLE>Getting started with Perl</TITLE>


The explicit use of a HEAD element has no other effect than making it explicit (to the reader of the HTML code) which part of the document belongs to the head section.

Date of last update: 2010-12-16.
This page belongs to the free information site IT and communication, section Web authoring and surfing, by Jukka "Yucca" Korpela.