In HTML, meta tags or meta elements are tags placed in the head section of your code that help define the contents of a web page. For example, a description meta tag is used by Internet search engines to display a description of your page in their search results. Each meta element must contain an opening and closingtag. The sections below list and describe the different types of meta tags.

Content-Type meta tag

Identifies the content type and charset of the web page as defines how to show the page.

Today, the most important meta tags for web developers are those for Content-Type and Description.

  • Content-Type meta tag.
  • No-cache meta tag.
  • Audience meta tag.
  • Author meta tag.
  • Content-Language meta tag.
  • Description meta tag.
  • Generator meta tag.
  • Keywords meta tag.
  • Page-topic meta tag.
  • Page-type meta tag.
  • ProgID meta tag.
  • Publisher meta tag.
  • Revisit-after meta tag.
  • Robots meta tag.
  • Should I use “meta tag” or “metatag” in my writing?
  • Related meta tag pages.

No-cache meta tag

Lets the Internet browser know it should not cache the page. Using this tag ensures that the latest information is displayed to the visitor. It is only recommended that this tag be used on a page that is frequently updated since it increases loading time.

Although charset can be specified in a meta tag, if you can access the .htaccess file, define it there instead. That way, it doesn’t have to be specified in every web page.

Audience meta tag

Used with parental control software and robots to control the ages of viewers who may visit the page. This meta tag is not that important, but can be useful for any adult related pages.

Author meta tag

Description of the author of the page.

Content-Language meta tag

The language the page is written. The example above specifies English. Today, this tag can be skipped if you classify the language in HTML tag. For example,at the beginning of your page.

Description meta tag

The description meta tag covers what type of information the web page contains. The description meta tag is the most important tag, used by a search engine to rank your page in the search results. The description length should be between 150 and 160 characters.

Generator meta tag

The software used to generate the web page.

Keywords meta tag

Keywords separated by commas that help describe what the page contains. Because of abuse, many search engines, including Google no longer look at the keywords. Many sites, including Computer Hope, no longer include the keywords meta tag on any of their pages.

Page-topic meta tag

Topic of the page, used by some search engines. Not all pages need this.

Page-type meta tag

The page type, used by some search engines. Not all pages need this.

ProgID meta tag

Program used to edit the file. Similar to the generator.

Publisher meta tag

The publisher of the web page.

Revisit-after meta tag

Lets web robots know how frequently to index the page. It is recommended that the robots.txt file be used instead of meta tags to direct web robots.

Robots meta tag

This line lets any web robots know which pages to index. It is recommended that the robots.txt file be used instead of meta tags to direct web robots.

This line is a notice to web robots to follow all links on the page.

Should I use “meta tag” or “metatag” in my writing?

The word “meta tag” should be two words separated by a space and not written as one word or hyphenated.

Browser, HTML, HTML terms, Internet terms, Open Graph, Programming terms, Robots.txt, Tag

  • HTML and web design help and support.
  • Secrets and tips on promoting your website and blog.