Name
<HEAD> — NN all IE all HTML all
Synopsis
<HEAD>...</HEAD>
End Tag: Optional
The HEAD
element contains document information that is generally not rendered
as part of the document in the browser window. At most, the
TITLE element affects what the user sees when a
browser displays its content in the browser window’s titlebar.
Content of the HEAD element consists entirely of
other elements that are intended to assist the browser in working
with document data. Another classification of data, handled in one or
more META elements, can also assist search engines
and document parsers to learn more about the document based on
abstract information supplied by the author. The following table
shows the elements that may be nested inside a
HEAD element according to three different
specifications.
|
Element |
NN 4 |
IE 4 |
HTML 4.0 |
|---|---|---|---|
BASE |
• |
• |
• |
BASEFONT |
• |
• |
- |
BGSOUND |
- |
• |
- |
ISINDEX |
• |
- |
• |
LINK |
• |
• |
• |
META |
• |
• |
• |
NEXTID |
- |
• |
- |
SCRIPT |
• |
• |
• |
STYLE |
• |
• |
• |
TITLE |
• |
• |
• |
Example
<HEAD>
<META NAME="Author" CONTENT="Danny Goodman">
<STYLE TYPE="text/css">
H1 {color:cornflowerblue}
</STYLE>
</HEAD>Object Model Reference
- IE
[window.]document.all.elementID
Attributes
|
|
|
|
|
|
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access