Information inside a meta element describes the document.
Information inside a meta element describes the document's keywords.
Redirect a user
This example demonstrates how to redirect a user if your site address has changed.
As we explained in the previous chapter, the head element contains general information (meta-information) about a document.
HTML also includes a meta element that goes inside the head element. The purpose of the meta element is to provide meta-information about the document.
Most often the meta element is used to provide information that is relevant to browsers or search engines like describing the content of your document.
Note: W3C states that "Some user agents support the use of
Keywords for Search Engines
Some search engines on the WWW will use the name and content attributes of the meta tag to index your pages.
This meta element defines a description of your page:
This meta element defines keywords for your page:
The intention of the name and content attributes is to describe the content of a page.
However, since too many webmasters have used meta tags for spamming, like repeating keywords to give pages a higher ranking, some search engines have stopped using them entirely.
You can read more about search engines in our Web Building Tutorial.
Sometimes you will see meta attributes that are unknown to you like this:
Then you just have to accept that this is something unique to the site or to the author of the site, and that it has probably no relevance to you.
You can see a complete list of the meta element attributes in our
Complete HTML 4.01 Tag Reference.