Did i add the Meta tag correctly?

Discussion in 'HTML & Website Design' started by oblivion19, Nov 13, 2007.

  1. #1
    Hey all..

    i just added my meta tag below the <head>

    its in the following format for my blogger blog/

    <META NAME="keywords" CONTENT="lots of keywords of my site"/>
    <META NAME="description" CONTENT="Again the same lot of keywords"/>
    <META NAME="revisit-after" CONTENT="2 days"/>
    <META NAME="robots" CONTENT="FOLLOW,INDEX"/>

    is this correct?

    if not. wats the adjustment i shud make?

    Thanks all
     
    oblivion19, Nov 13, 2007 IP
  2. Shadab

    Shadab Peon

    Messages:
    376
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Make that :

    <meta name="keywords" content="lots of keywords of my site" />
    <meta name="description" content="Again the same lot of keywords" />
    <meta name="revisit-after" content="2 days" />
    <meta name="robots" content="follow, index" />
    HTML:
    I read somewhere that if the element is an empty element,
    then there should be a space before the closing />

    Thanx,
    Shadab.
     
    Shadab, Nov 13, 2007 IP
  3. norfstar

    norfstar Peon

    Messages:
    1,154
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I might be wrong, but I think all the major engines ignore the revisit-after meta tag.
     
    norfstar, Nov 13, 2007 IP
  4. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #4
    The META tag doesn't have closing tag. So, ends with '>' and not with '/>
    Take a look at the W3C META specifications, or here for META Examples

    Also on your description you shouldn't use a lot of keywords. Instead use a phrase with keywords. That description is usually what users see on search engines.

    And a TIP: You can check your HTML page with the HTML Validator
     
    ajsa52, Nov 13, 2007 IP
  5. Shadab

    Shadab Peon

    Messages:
    376
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Right.

    But that applies only if oblivion19 uses HTML4/HTML4.01 to validate.
    If xHTML* is used, then those elements have to be closed with " />".

    Thanx,
    Shadab.
     
    Shadab, Nov 13, 2007 IP
  6. bonzay

    bonzay Peon

    Messages:
    54
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Also try not to use more than about 150 characters for the value of the meta-description tag. Otherwise it gets truncated in search engines result pages -- at least thats what Google actually do...
     
    bonzay, Nov 13, 2007 IP
  7. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #7
    Depends on your Doctype if that is correct or not.
     
    twistedspikes, Nov 13, 2007 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Also the default behavior of search engines is to follow every link and index every page they run into, unless they're told otherwise. So you can get rid of that META tag as well. If you need to exclude something from a spider, just use a robots.txt file instead.
     
    Dan Schulz, Nov 13, 2007 IP
  9. michel1949

    michel1949 Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    hi! i am very newbie to building my website i am using rvsitebuilder, in the porogram the function 6 is the meta tag section so i entered the meta description and keywords in the space where it says to enter them

    would it be better to erase them and add the meta tag in the page instead using HTML?

    do i need to put a meta tag to all the pages ?

    thanks in advance for your patience
     
    michel1949, Jul 20, 2009 IP