It provides information known as data in an html document.
It allow us to develop the description of the web page.
It is used by search engines to index a page so that the user can easily find it.
It help the user to identify the creator of the web page and include keyword, description and refresh parameter.
What does a Meta Tag do ?
It main work is to describe the content and characteristics of a web page.
It is able to store information that is descriptive in the tag attribute.
These tags are placed b/w the head tag of a html document.
It help in identifying the creator of the web page , how often it is updated , what basically the page is about and which keywords represents the page content.
Below is a structure to show Meta Tags in HTML document :-
Html At A Glance </title>
name =title content=Meta Tags for Webpages>
name =Discription content =This page shows..>
name =Keywords content =Tags ,Search Engines>
Types of Meta Tags :-
Abstract :- This tag provides a longer description of the content by summarizing the web page and therefore the user can see a full and complete summary of a page.
Syntax :- <META NAME=”abstract” CONTENT=”All about Meta Tags..“>
Author :- This tag help us the user to identify the author of the page.
Syntax :- <META NAME=”author” CONTENT=”Ruskin Bond “>
Classification :- This tag tell the search engine to show appropriate categories where the website need to be indexed.
Copyright :- Basically all content on a web page are copyrighted . It is also consist of with the date of first publication of a web page .
Description :- This tag helps in search engines for easily indexing our page with the description. In our HTML file , we can add our own description for our web page.
<META NAME=”Description” CONTENT=” a short and an appealing description of our web page”>
Distribution :- This tag has a very little use in the webpage. The content it may contain might be “global” ,”local” and “iu”(for Internal Use). This tag is useful for the administrator of Intranet for distributing files on the server.
Syntax :- <META name =”distribution” content=”global” >
Pragma :- This tag helps to prevent browser from caching.
Refresh :- This tag defines that meta element is a pragma directive which basically specifies that either number of seconds after which the current page is to be reloaded or some different page is to be reloaded in place of current page and the URL for the replaement of the page.