Non-rendered part of an HTML document that may contain meta information and may define links to scripts, stylesheets, and other documents.
Browser/User Agent Support
IE | Netscape | Mozilla | Opera | Safari | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
---|
Example
This example shows the <head>&</head>& element for a company home page, including a meta tag, title, and a link to a stylesheet:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Aptana Home Page</title>
<link rel="stylesheet" href="style.css" type="text/css" />
&/head>
Remarks
The <head></head> element must contain a <title></title> element.
Attribute Detail
Attribute | IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|---|
CSS class assigned to the element.
|
2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Direction of the element text.
|
2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Unique identifier for the element.
|
2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Language code for the content of the element.
|
2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Specifies the URL for the meta-information dictionary.
|
4.0+ | 1.1+ | 1.0+ | 4.0+ | 1.0+ |
Event Detail
Event | IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|---|
Fires when Print or Print Preview finishes laying out the content in a LayoutRect with the source data.
|
4.0+ | no | no | no | no |
Fires when the ready state of the element changes.
|
4.0+ | no | no | no | no |