Baseline Widely available
The <head>
HTML element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets. There can be only one <head>
element in an HTML document.
Note: <head>
primarily holds information for machine processing, not human-readability. For human-visible information, like top-level headings and listed authors, see the <header>
element.
This element includes the global attributes.
profile
Deprecated
The URIs of one or more metadata profiles, separated by white space.
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Document title</title>
</head>
</html>
Technical summary Content categories None. Permitted content
If the document is an <iframe>
srcdoc
document, or if title information is available from a higher level protocol (like the subject line in HTML email), zero or more elements of metadata content.
Otherwise, one or more elements of metadata content where exactly one is a <title>
element.
<head>
element is an element.
<head>
element is not a space character or a comment. Permitted parents An <html>
element, as its first child. Implicit ARIA role No corresponding role Permitted ARIA roles No role
permitted DOM interface HTMLHeadElement
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4