Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
body tag
frameset tag
TAG: head
<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.
A well-formed XHTML document must contain properly nested and closed
html, head, title,
and
body
tags. The
head
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
link
set document link
meta
document keywords
script
script code
style
set style sheet rules
title
name of document
The separate closing tag is mandatory.
Attributes and Events
dir
lang
profile
The
profile
attribute is a list of one or more (comma separated) URL addresses of the meta data profiles.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<
head
>
<title>DevGuru XHTML head Tag Example</title>
<base href="http://www.devguru.com/" />
<link rel="stylesheet" type="text/css" href="include/StylesDefinitions.css" />
<
/head
>
<body>
...
</body>
</html>
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information