Could it be a problem if meta tags has id attributes

Discussion in 'Search Engine Optimization' started by tihomir_wwf, Aug 3, 2009.

  1. #1
    Hi friends,

    I'm working over asp.net website app with dynamic controls, after pages are being rendered, my meta tags has id attributes, ex.

    <meta id="ctl00__some_id_here" name="description" content="Some Description Here"></meta>

    I was wondering could it be a problem for the bots to read this tag ?

    Thanks in advanced for all replies :)
     
    tihomir_wwf, Aug 3, 2009 IP
  2. Canonical

    Canonical Well-Known Member

    Messages:
    2,223
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    110
    #2
    WTH would you add an id= attribute to a <meta> element in your HTML? id= and class= are used for CSS to be able to style certain parts of your content. NOTHING in the <head> is considered "content" and should be getting styled.

    That being said, they "shouldn't" care about it.

    You do know that you can render such tags w/ .net controls that do NOT add all of the ugly .net crap to the HTML. I make my developers override the standard output from those controls and render nice clean HTML w/out all the crap that .net inserts.
     
    Canonical, Aug 3, 2009 IP