The stuff that describes the document

head

The head element comprises subordinate elements for the purpose of describing the document, its context, and its dependencies.

Every document must have a head element, and it should be the first descendent of the document's html element. At a minimum, the head must have a title element. Most documents will also have one or more meta and link elements.

Example

html {
head {
title Just Beyond the Thorny Divide
meta *charset=UTF-8
meta *name=description *content="A Series of Unhappy Events in Corslandia"
link `/css/thorny-divide.css` *rel=styleheet
}
}
The head element

Ancestor

html
The html element is the outermost envelope for the composition. It is often called the root element because HTML uses a hierarchical structure.

Descendants

title
The title element uses plain language to convey to prospective readers what the composition is about.
meta
Each meta element describes one facet of information about the document itself.
base
The base element overrides the document's point of reference.
link
The link element specifies where the browser can find additional resources needed to properly render the document.
style
The style element is used to declare CSS rules that will be applied to the document.
script
A script element allows the JavaScript language to be used to respond to user actions.

semantax > document > headThe stuff that describes the document

🔎