HTML and CSS Reference
In-Depth Information
Name
head
Synopsis
<head> . . . </head>
Contains information about the document, a collection of metadata. Every
head
element must
include a
title
element that provides a description of the document. The
head
element may
also include any of these elements in any order:
base
,
link
,
meta
,
noscript
,
script
, and
style
. The
head
element merely acts as a container of these elements and does not have any
content of its own.
Usage
Categories:
None
Permitted contexts:
As the first element in an
html
element
Permitted content:
Zero or more elements of metadata content (
base
,
command
,
link
,
meta
,
noscript
,
script
,
style
,
title
) with exactly one
title
element. If the document is an
iframe
srcdoc
, the
title
element is not required.
Start/end tags:
Optional/Optional (XHTML: Required/Required)
Attributes
HTML5 Global Attributes