Metatags

December 2016

Introduction to metatags

Metadata is information placed within a document in order to describe the document itself. Metadata is used to help search engines index web pages. By using tags which are not displayed by the browser, information about the page or site can be included in order to better describe its contents. In particular, it may contain information about the document's author(s), its expiration date, the language used, etc.

These "Metatags" are special tags found in the header of the document (i.e. the HEAD tag found before the BODY tag), mainly for supplying information so that search engines can index the web page.


There are two different types of metatags:

  • NAME metatags, for describing the HTML page itself:
    <META NAME="Tag Name" CONTENT="Attribute">
  • HTTP-EQUIV metatags, for sending additional information to the browser using the protocol HTTP:
    <META HTTP-EQUIV="Tag Name" CONTENT="Attribute">


Multiple metatags can be included, one after another, in a page header.

NAME metatags


Tag NameAttributeUse
Author"Information about the author"Information about the author of the page
CopyrightCopyright informationProvides copyright information
Description"Description of your site"Gives information to display in search results.
Expiresnever
"date when the page expires"
Tells the robot what date the page will expire on.
GeneratorSoftware nameName of the HTML editor which generated the web page.
Keywords"keyword, keyword, etc."Keywords describing the Web page.
RatinggeneralType of content (target audience).
RevYour@e-mailWebmaster's e-mail address.
Revisit-after"x days" where x is the number of daysHow long before the robot visits again
Robotsall
none
Lets all robots index the page
Prevents robots from indexing it
Subject"Page subject"Specifies the subject of the page

HTTP-EQUIV metatags


Tag NameAttributeUse
Pragmano-cachePrevents browser from keeping the page in its cache
Refreshx; URL="address"Loads another page (located at the URL specified) after waiting x seconds.
Robotsall
follow
index
nofollow
noindex
none
Lets the robot index the entire page (default)
Lets the robot follow links on the page
Lets the robot index the page
Prevents the robot from following links
Prevents the robot from indexing the page
Stops the robot from indexing the site
Window-target_blank
_top
Forces the browser to display the page in a new window
Displays the page full-size in a new window (not in a frame)

Related :


Balises méta (Méta tags)
Balises méta (Méta tags)
I Meta Tag
I Meta Tag
Os Metatags
Os Metatags
Modele baz danych
Modele baz danych
This document entitled « Metatags » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.