Change Language


Follow Navioo On Twitter

head

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
class
[class-name]. Example values: header-class, list-element, etc.
CSS class assigned to the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
dir
Direction of the element text.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
id
[element-id]
Unique identifier for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
lang
[language-code]. Example values: "en" (English), "fr" (French), "es" (Spanish), etc.
Language code for the content of the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
profile
[url]
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
 

Ajax Javascript feed

↑ Grab this Headline Animator