Results 1 to 5 of 5

Thread: Best Meta Tags To Use

  1. #1
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Best Meta Tags To Use

    Hi All,

    I know Meta tags aren't a huge thing these days but I still like to use them, just wondering what everyones thoughts were on which ones to use? I think they are way too many, obviously 'description' and 'keywords' would be important... Any others? And anyone know of any good generators?

    Thanks!

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Required attribute of META tag is

    Attribute name Value
    --------------- --------
    Content some text

    Optional attributes of META tag are

    Attribute name Value
    --------------- --------
    http-equiv content-type
    expires
    refresh
    set-cookie

    name author
    description
    keywords generator

    scheme some text

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    "Keywords" isn't important at all nowadays. "Description" is still useful. "Author" can be handy (if it's a site for someone else, for example, and you can't add an "about the author" page). Other than that, there aren't many uses for them left.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    I see "Generator" in use by a lot of open source CMSs

  5. #5
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by codeexploiter
    Code:
    Attribute name     Value
    ---------------    --------
    http-equiv	      content-type
    			  expires
    			  refresh
    			  set-cookie
    Of those, only the Content-Type value should appear with any frequency, and even then, only as a last resort.

    Cache control information (the Expires header and the like) must involve the HTTP protocol. Browsers are not the only part of the network with a cache, and there's little point in stopping a browser from caching the document (and it doesn't even have to respect meta elements like that) if an intermediate cache stores the response.

    The same goes for Set-Cookie: it is a protocol feature and should be sent by the server along with other HTTP headers.

    As for the Refresh value, that should generally be avoided, anyway. Self-refreshing documents are a pain in the ass, and it's a bad form of redirection.

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •