Meta

Category:HTML Tags

Meta

Metadata is information about data. This meta tag <meta> is used to provide information about HTML documents such as page description, author of the document, and keywords.

Examples

Web Page Description

Using <meta> to provide a short description about the document.

<head>
  <meta name = "description" 
    content = "This section is an example answer.” />
</head>

Revision Details

Using <meta> to give the information about the last updated document.

<head>
  <meta name = "revised detail" 
    content = "last updated time"/>
</head>

Syntax

<meta>

Tips

  • The meta tag does not require a closing tag.
  • The meta tag always goes inside the <head> element and doesn't affect the document's physical appearance.
  • A web document can include one or more meta tags.

Additional Information

For more information, see http://www.w3schools.com/tags/tag_meta.asp

Found a bug in the documentation? Let us know at documentation@code.org