Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • An Overview to Meta Tags

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 91
    Comment on it

    What is Meta Tag ?

    • 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>
    
    <head>
    
    <title>
    Html At A Glance </title>
    
    <META
    name =title content=Meta Tags for Webpages>
    
    <META
    name =Discription content =This page shows..>
    
    <META
    name =Keywords content =Tags ,Search Engines>
    
    </head>
    
    <body
    bgcolor=#c6e2ff>
    
    ......
    
    </body>
    
    </html>

    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.

    Syntax:- <META name=”Classification” Content=”HTML,CSS,JavaScript”>

     

    • 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.

    Syntax :-

    <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.

    Syntax :- <META http-equiv=”Pragma” content=”no-cache”>

     

    • 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.

    Syntax :- <META HTTP-EQUIV=”Refresh” CONTENT=”30;URL=index2.html”>

     

    • Title :- This tag defines the title to your web page.

     Syntax:- <META name=”title”content=”An Overview to Meta tags”>

    Standard Attributes :-

                  Attribute        value                Description
    dir   rlt ,ltr               Specifies the text direction for the content in webpage.
    lang  language_code     Specifies the language_code to a content
    Xml:lang  language_code          Specifies the language_code for XHTML content.

    Conclusion :-

    Hence, These are some meta tags used in html that are easy to use and understand.

    Note :- The latest versions of Safari ,Google Chrome , Mozilla Firefox and Opera all support the Meta Tags in HTML.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: