Elements/head

From HTML Wiki
Jump to: navigation, search

<head>

The <head> element represents a collection of metadata for the Document.


HTML Attributes

See global attributes.


Examples

Example A

[try it]

<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>The HTML Document</title>
</head>
<body>
<p>The HTML content</p>
</body>
</html>


HTML Reference

The HTML5 specification defines the <head> element in 4.2.1 The head element.