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 policycontent-type
defines the MIME type of the document- name
author
the document's authordescription
a short summary of the compositiongenerator
the software used to create the pagekeywords
a comma-separated list of keyword phrasesviewport
use"width=device-width, initial-scale=1"
for mobile phones- content
- Used to provide a value for the meta element's
http-equiv
andname
properties
Example
Ancestor
- head
- The head element comprises subordinate elements for the purpose of describing the document, its context, and its dependencies.