HTML and CSS Reference
In-Depth Information
Name
meta
Synopsis
<meta> (XHTML: <meta/> or <meta /> )
Provides additional information (metadata) about the document. It should be placed within the
head of the document. It is commonly used to identify its media type and character set. It can
also provide keywords, author information, descriptions, and other metadata. The head ele-
ment may contain more than one meta element.
Usage
Categories:
Metadata content; If itemprop is present, then flow and phrasing content
Permitted contexts:
In the head element or a noscript element in a head element. If the name attribute is
present: where metadata content is expected. If the itemprop attribute is present, where
metadata or phrasing content is expected.
Permitted content:
Empty
Start/end tags:
This is an empty (void) element, meaning it has only a start tag and may not have any con-
tents. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a
trailing slash ( <meta/> or <meta /> ).
Attributes
HTML5 Global Attributes
Search WWH ::




Custom Search