html comment tags

Discussion in 'HTML & Website Design' started by arcalis, Apr 14, 2008.

  1. #1
    i need to use the words "credit card best transfers' in the html comment tags on my webpage

    how do i do this
     
    arcalis, Apr 14, 2008 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That's not a comment, it's a META keyword tag (which is practically worthless from an SEO standpoint). The tag goes in between the <head> and </head> tags and looks like this:

    
    <meta name="keywords" content="credit card best transfers">
    
    Code (markup):
    (include a space and a forward slash after transfers" if you're using an XHTML DOCTYPE)

    If you're dead set on using a <!-- comment --> tag, don't. The search engines will consider this as keyword stuffing and your site will be banned for it. So don't do it. Period.
     
    Dan Schulz, Apr 14, 2008 IP
  3. Farhan5

    Farhan5 Peon

    Messages:
    189
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    will not it dificult to find in google search when keywords are lengthy
     
    Farhan5, Apr 14, 2008 IP
  4. reena_rani

    reena_rani Banned

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    why do you use comment tag in html. I think it is useless. Use it as meta keywords in heading part.
     
    reena_rani, Apr 15, 2008 IP