treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Meta-tags

  • Hi everybody, this is not a css-question, but therefore I posted it in other discussions. I was thinking about meta-tags and was wondering which tags you all use. I got a whole list, but maybe it's too much? Or are there some you definetly must use? These are mine:


    <meta http-equiv=\"Content-Type\" content=\"application/xhtml+xml;charset=utf-8\" />
    <meta name=\"title\" content=\"\" />
    <meta name=\"author\" content=\"\" />
    <meta name=\"copyright\" content=\"Copyright 2008\" />
    <meta name=\"language\" content=\"NL\" />
    <meta name=\"description\" content=\"\" />
    <meta name=\"keywords\" content=\" />
    <meta name=\"distribution\" content=\"Global\" />
    <meta name=\"robots\" content=\"index, follow\" />
    <meta name=\"revisit-after\" content=\"30 days\" />
    <meta http-equiv=\"reply-to\" content=\"info@...\" />
    <meta http-equiv=\"imagetoolbar\" content=\"no\" />


    What do you think of it? My own opinion now is that 'robots' maybe is unnecessary, because "index, follow" isn't that what the robots are used to do?
  • I actually almost never use any meta tags other than content type to set the character set. Of the ones that you've listed, the ones I see as the most useless are the copyright and the robots ones. If you have specific directions you want search bots to follow, I think you'll have much more luck with a robots.txt file.
  • I use these every site pretty much:

       
    <meta http-equiv=\"Content-Type\" content=\"application/xhtml+xml;charset=utf-8\" />
    <meta name=\"title\" content=\"\" />
    <meta name=\"author\" content=\"\" />
    <meta name=\"description\" content=\"\" />
    <meta name=\"keywords\" content=\" />


    i dont use the others really at all
  • Amongst others (but not many) I do use the description meta tag - many search engines still use it to provide the description of the search result. Very handy. Although far less used than a few years ago, it doesn't hurt to use the keywords meta.
  • And what do you think of <html lang="nl"> or <meta name="language" content="NL" /> ?
    Is it a good thing to define the language?