How To Use HTML Meta Tags

Discussion in 'Search Engine Optimization' started by Deceneu, May 1, 2012.

  1. #1
    Want top search engine rankings? Just add meta tags and your website will magically rise to the top, right? Wrong. Meta tags are one piece in a large algorithmic puzzle that major search engines look at when deciding which results are relevant to show users who have typed in a search query.


    [​IMG]


    While there is still some debate about which meta tags remain useful and important to search engines, meta tags definitely aren't a magic solution to gaining rankings in Google, Bing, Yahoo, or elsewhere – so let's kill that myth right at the outset. However, meta tags help tell search engines and users what your site is about, and when meta tags are implemented incorrectly, the negative impact can be substantial and heartbreaking.


    Let's look at what meta tags are, what meta tags matter, and how to avoid mistakes when implementing meta tags on your website.


    What Are Meta Tags?


    HTML meta tags are officially page data tags that lie between the open and closing head tags in the HTML code of a document.


    The text in these tags is not displayed, but parsable and tells the browsers (or other web services) specific information about the page. Simply, it “explains” the page so a browser can understand it.


    Here's a code example of meta tags:


    <head>
    <title>Not a Meta Tag, but required anyway</title>
    <meta name="description" content="Awesome Description Here" />
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    </head>
    Code (markup):

    For more on the history of meta tags, see our post “Death of a Meta Tag”.


    The Title Tag


    Although the title tag appears in the head block of the page, it isn't actually a meta tag. What's the difference? The title tag is a required page “element” according to the W3C. Meta tags are optional page descriptors.


    To learn more about best practices for title tag element, our post “How to Write Title Tags For Search Engine Optimization” tells you everything you need to know.


    The Description Meta Tag


    This is what the description tag looks like:


    < meta name="description" content="Awesome Description Here" />
    Code (markup):

    Ideally, your description should be no longer than 155 characters (including spaces). However, check the search engine results page (SERP) of choice to confirm this. Some are longer and some are shorter. This is only a rule of thumb, not a definite “best practice” anymore.


    The “description” meta tag helps websites in three important ways:


    “Description” tells the search engine what your page or site is about: For the search engine to understand what your page is about, you need to write a good description. When Google's algorithm decides a description is badly written or inaccurate, it will replace that description with its own version of what is on the page. Wouldn't you prefer to describe your site to potential customers or visitors using your own words rather than leaving it in Google's artificial hands? Look at this example and judge for yourself:


    [​IMG]


    “Description” helps with click through rates to your site: Writing a good description not only helps keep Google from rewriting it, but also helps you get good more people clicking through to your site. A well-written description not only tells users what is on your page, but also entices them to visit your site. A description is what shows up here in the search engine results. It is like good window dressing. Sites with poor descriptions will get less click throughs and the search engines will demote your site in favor of other sites.


    “Description” helps with site rankings: The common belief (based on what Google said in 2009) is that nothing in the description will help you get rankings. However, I have seen evidence to the contrary. Is it heavily weighted? No, but if you want some value on a secondary keyword (say an –ing –ed or –s), use it here.


    Two other quick notes on meta description tags:


    • Empty Descriptions: Can a description be empty? Yes. When it is empty Google and Bing will fill it in for you. In fact, sometimes (e.g., for blogs) you may prefer Google's or Bing's version. (Personally though, I always fill it in whenever possible, preferring my version to theirs, but if you have a small staff, this isn't always practical.)
    • Quotes: Don't use full quotation marks (“”) in your description. It will likely cut off your description. Use single quotes to avoid this issue.


    The Keywords Meta Tag


    A long time ago in a galaxy far, far away, the “keywords” meta tag was a critical element for early search engines. Much like the dinosaurs, this tag is a fossil from ancient search engine times.


    The only search engine that looks at the keywords anymore is Microsoft's Bing – and they use it to help detect spam. To avoid hurting your site, your best option is to never add this tag.


    Or, if that's too radical for you to stomach, at least make sure you haven't stuffed 300 keywords in the hopes of higher search rankings. It won't work. Sorry.


    If you already have keyword meta tags on your website, but they aren't spammy, there's no reason to spend the next week hurriedly taking them out. It's OK to leave them for now – just take them out as you're able, to reduce page weight and load times.


    Other Meta Tags


    There are many other meta tags, but none are really considered useful nowadays. Many of the tags that we used did things like:


    Told the spider when to come back
    < meta name="revisit-after" content="30 days">
    Code (markup):
    Told the browser the distribution
    < meta name="distribution" content="web" />
    Code (markup):
    Told the page to refresh
    < meta http-equiv="refresh" content="30" />
    Code (markup):
    Told the page to redirect/refresh
    < meta http-equiv="refresh" content="x_seconds; url=http://www.yourhost.com/pagetosendto.html">
    Code (markup):

    We don't use these anymore, either because there are better ways (such as schema tagging or server side methods) or because the engines they used to work on are no longer in existence or Google has explicitly told us they are not great ideas (such as redirects at the page level).


    NOTE: Schema tagging and rich data snippets are single-handedly the most important (and somewhat quietly announced) change to how your site interacts with the search engines and the search spiders. Learn it. Know it. Implement it.


    [SIZE="3[COLOR="red"][/COLOR]"]Robots Meta Tag[/SIZE]


    The robots tag is still one of the most important tags. Not so much for the proper implementation, but the improper.


    The robots meta tag lets you specify that a particular page should not be indexed by a search engine or if you do or do not want links on the page followed.


    Believe it or not, it is still common for a site to be deindexed because someone accidentally added a noindex tag to the entire site. Understanding this tag is vitally important.


    Here are the four implementations of the Robots Meta Tag and what they mean.


    < META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    Code (markup):

    This means: “Do not Index this page. Do not follow the links on the page.” Your page will drop OUT of the search index AND your links to other pages will not be followed. This will break the link path on your site from this page to other pages.


    This tag is most often used when a site is in development. A developer will noindex/nofollow the pages of the site to keep them from being picked up by the search engines, then forget to remove the tag. When launching your new website, do not trust it has been removed. DOUBLE CHECK!


    < META NAME="ROBOTS" CONTENT="INDEX, NOFOLLOW">
    Code (markup):

    This means: “Do Index this page. Do not follow the links on the page.” Your page WILL be in the index AND your links to other pages will not be followed. This will break the link path on your site from this page to other pages.


    < META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">
    Code (markup):

    This means: “Do not Index this page. Do follow the links on the page.” Your page will drop OUT of the index BUT your links to other pages will be followed. This will NOT break the link path on your site from this page to other pages.


    < META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
    Code (markup):

    This means: “Do Index this page. Do follow the links on the page.” This means your page WILL be in the index AND your links to other pages will be followed. This will NOT break the link path on your site from this page to other pages.
    NOTE: The robots tag may be ignored by less scrupulous spiders.


    The Charset Tag


    Finally, all sites must validate charset. In the U.S., that is the UTF-8 tag. Just make sure this is on your page if you're delivering HTML using English characters.


    < meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    Code (markup):

    Conclusion


    While meta tags aren't the magical solution that you may have heard, they still play an important role in helping your site get found in search engines. Enjoy your metas!


    By: Kristine Schachinger
     
    Deceneu, May 1, 2012 IP
    Jim4767 likes this.
  2. sksinghsanjeet

    sksinghsanjeet Peon

    Messages:
    326
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Thanx for sharing it
     
    sksinghsanjeet, May 2, 2012 IP
  3. tevag

    tevag Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,
    Thank you for this detailed presentation. I agree with your conclusion. Meta tags are a part of on site SEO optimization.
     
    tevag, May 2, 2012 IP
  4. Mary Ellis

    Mary Ellis Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanx for deepness information
     
    Mary Ellis, May 2, 2012 IP
  5. marylandlawoffice

    marylandlawoffice Member

    Messages:
    395
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #5
    Thanks for sharing it.
     
    marylandlawoffice, May 2, 2012 IP
  6. seafrontsteve

    seafrontsteve Peon

    Messages:
    451
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Even though I know about meta tags - this is a very useful piece of reference information.

    Thanks
     
    seafrontsteve, May 2, 2012 IP
  7. pawpoint

    pawpoint Peon

    Messages:
    59
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    That is really well thought out and very helpful
     
    pawpoint, May 2, 2012 IP
  8. jenniferjohn

    jenniferjohn Peon

    Messages:
    124
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks for sharing the information .It is really use full and good.
     
    jenniferjohn, May 2, 2012 IP
  9. azharSEO

    azharSEO Active Member

    Messages:
    1,468
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    88
    #9
    very good Information... Thanks
     
    azharSEO, May 4, 2012 IP
  10. harsabana

    harsabana Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks for sharing details. all the details are very usefull to me to create a website...........
     
    harsabana, May 6, 2012 IP
  11. mukesh4bs

    mukesh4bs Active Member

    Messages:
    249
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    80
    #11
    Nice tutorial, for error free meta tags, you can also use meta generator tools.
     
    mukesh4bs, May 6, 2012 IP
  12. Deceneu

    Deceneu Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    170
    #12
    Glad you like the tutorial.

    Cheers,
    Deceneu.
     
    Deceneu, May 6, 2012 IP
  13. JohnRock

    JohnRock Peon

    Messages:
    254
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Do you guys think meta tags are as important as they once where?
     
    JohnRock, May 6, 2012 IP
  14. Deceneu

    Deceneu Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    170
    #14
    No, more important are the meta descriptions, now with all the google updated.
     
    Deceneu, May 14, 2012 IP
  15. Sophia Myles

    Sophia Myles Greenhorn

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #15
    This is a really awesome thread! Thanks for sharing~

    And I found content like this "Marking up your data for rich snippets won't affect your page's ranking in search results, and Google doesn’t guarantee to use your markup." in the Wbmaster Tools, which is quite a disappoint... Is it true?
     
    Sophia Myles, May 14, 2012 IP
  16. azharSEO

    azharSEO Active Member

    Messages:
    1,468
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    88
    #16
    Good share about Meta tag........Nice information.
     
    azharSEO, May 15, 2012 IP