HomeReferencesHTML Tags

HTML Tag: meta

Meta information. Used to provide information about the HTML page. It must be placed within the head element.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Required Attributes

  • content is used to specify the meta information itself.

Optional Attributes

  • name can be used to specify the name given to the meta information. The value can be anything, but common examples are description and author.
  • http-equiv can be used when name is not used to define an 'equivalent' HTTP header for the document. This is commonly used to specify the MIME type and character set when the author has no direct control over the server.
  • scheme can be used when name is used to specify how the value of content should be interpreted.
  • I18n attributes

Example


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="darwin, evolution, natural selection, species, beagle, 1859" />
<meta scheme="ISBN"  name="identifier" content="0-14-043205-1" />