Language References
Contains header information about the HTML document. | HTML 2, 3.2, 4, 4.01, 5 |
HTML Syntax
<head
class = classname
id = value
title = text
>
The HEAD element defines an HTML document header, that contains information about the document that is of use to the Web browser and search indexing engines.
The browser displays none of the information in the header, except for text contained in the TITLE element.
All header information must be between the <head> and </head> tags, which should precede the BODY element.
The HEAD element can contain the following elements:
HEAD Members
<html>
<head>
<title>Sample HTML document</title>
</head>
<body>
<p>Hello, World.</p>
</body>
</html>
Show me
The following example shows the information found in this document’s HEAD element.
<html>
<head>
<title>Abakada HTML Elements Reference: HEAD Element</title>
<meta name="description" content="Abakada, a workshop on Web site design and development.
Step-by-step how-to pages help you learn skills and do specific tasks as you plan, build and manage your Web site,
from start to finish." />
<meta name="keywords" content="HTML, CSS, JavaScript, DHTML, web design, web development" />
<meta name="author" content="Reynald Nuñez" />
...
</head>
HTML TITLE BODY