body tag
frameset tag
TAG: head
<head> ... </head>
Available in versions: 2.0, 3.2, 4.0
Browser compatibility: 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
The closing tag is mandatory.
Core Attributes
dir
lang
Attributes
profile
The
profile
attribute is a list of one or more (comma separated) URL addresses of the meta data profiles. The format of these profiles is not defined in version 4.0.
Code:
<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>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information