title

Specifies the title of the HTML document.

Platform Support

IENetscapeMozillaOperaSafari
2.0+1.1+1.0+5.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

AttributeIENetscapeMozillaOperaSafari
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+
 

Event Detail

EventIENetscapeMozillaOperaSafari
Fires when Print or Print Preview finishes laying out the content in a LayoutRect with the source data.
4.0+nononono
 
Fires when the ready state of the element changes.
4.0+nononono
 

Availability

W3C HTML 4.01

text_html aptana_docs