Information about itself

meta

Each meta element describes one facet of information about the document itself.

Meta elements should only appear within a head element.

Properties

charset
For most new documents this should be explicitly set to UTF-8
http-equiv
content-security-policy defines a content policy
content-type defines the MIME type of the document
name
author the document's author
description a short summary of the composition
generator the software used to create the page
keywords a comma-separated list of keyword phrases
viewport use "width=device-width, initial-scale=1" for mobile phones
content
Used to provide a value for the meta element's http-equiv and name properties

Example

head {
meta *charset=UTF-8
meta *name=description *content="A Series of Unhappy Events in Corslandia"
meta *name=keywords *content="CORS, Corslandia, cross-origin"
meta *name=viewport *content="width=device-width, initial-scale=1"
}
The meta element

Ancestor

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

semantax > document > metaInformation about itself

Q