Version: 2.0, 3.2, 4.0
Compability: Explorer 4, 5 Netscape 4, 6
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:
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 |
<html>
<head>
<base href="http://www.devguru.com/">
<link rel="stylesheet" type="text/css" href="include/StylesDefinitions.css">
<title> DevGuru </title>
</head>
<body>
...
</body>
</html>