HTML » Tags » head

Version: 2.0, 3.2, 4.0

Compability: Explorer 4, 5  Netscape 4, 6

<head> ... </head>

The <head> tag is the HTML document header. It serves as a container for other tags that control the contents and appearance of the main body of the document. Therefore, its use is optional.

This tag is inserted immediately after the html tag, but before the body or frameset tags.
The head element can contain any of the following HTML tags in any order:

Tag Description
base set base URL
basefont set document font deprecated 4.0
isindex keywords for searching deprecated 4.0
link set document link
meta document keywords
script script code
style set style sheet rules
title name of document

The closing tag is mandatory.


<base href="">
<link rel="stylesheet" type="text/css" href="include/StylesDefinitions.css">
<title> DevGuru </title>
Language(s): HTML

See Also: