The head
element contains information that describes the (X)HTML document.
This information is not considered part of the content
of an (X)HTML page and is therefore not displayed in the
viewport.
The head
element must contain one title
element.
These are the elements that head
can contain:
title
base
meta
script
link
style
object
There can be only one title
and base
element. However,
the other elements can be present multiple times.
Attributes
lang
andxml:lang
- These attributes specifiy the language of the contents of the
head
element. However, this attribute is more often specified for thehtml
element. See this page for more information. dir
- See this page.
id
- This attribute is used to uniquely name the
head
element. It is allowed on thehead
element only when the doctype is XHTML. profile
- The value of this attribute is the URI of a document that provides more information of the
meta
element'scontent
attribute.
Here is the W3.org's HTML 4
specification page for the head
element.
1 comment:
thanks for excellent post.
Web design UK
Post a Comment