Meta tag contains metadata (means data about data) of a web page. This
tag contains keywords that are used by search engines to find your page. It can
also be used to refresh web page. It is placed in head section.
<meta name=”keywords”
content=”sun,summer,weather”>
The above tag contains name and content
attributes. The webpage that contains this tag will be displayed if words like
sun, summer or/and weather are typed in any search engine (web pages with
higher page ranks are displayed first). You can give any other values in
content attribute depending upon webpage.
<meta HTTP-EQUIV=”REFRESH”
content=”6”>
The above meta tag tells web browser to
refresh webpage every after 6 seconds.
Meta tags can also be used to write author’s name and give description
about web page.
<meta name=”AUTHOR” content=”Savio”>
<meta name=”DESCRIPTION” content=”This
is my sixth post”>
Example
<html>
<head>
<title>
Christmas
</title>
<meta
name=”keywords” content=”christmas,jesus,santa claus”>
<meta
name=”AUTHOR” content=”Savio”>
<meta
name=”DESCRIPTION” content=”Information about Christmas”>
</head>
<body>
<h1
align=”center”>
Christmas
</h1>
<p>
Christmas is
celebrated on 25<sup>th</sup> of December. It is birthday of Jesus.
</p>
</body>
</html>