(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-66923408-1', 'auto'); ga('send', 'pageview');


  • 1 Defining Metadata
  • 1.1 Changes in HTML 5
  • 2 Browser Support for meta
  • 3 Attributes of meta
  • Defining Metadata

    The <meta> element holds information about your page that you want other computers to understand. The contents of this element will not be printed on the page, and are not known to the human reader. They are designed to aid with categorization, search engine indexing and browser behavior.

    This element is always placed within the <head> section of the page. It cannot overlap the </head> closing tag.

    Note that <meta> is an empty element, and does not need a closing tag.

    Changes in HTML 5

    There are two important changes to the behavior of the <meta> tag in HTML 5:

  • The scheme attribute is no longer valid
  • A new attribute, charset, lets you set the character set for the page, as in the following example
  • <meta charset="ISO-8859-1">
    Claire Broadley
    Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.

    Browser Support for meta