"ALT" tag n "Title"

Discussion in 'Search Engine Optimization' started by omie, Apr 1, 2008.

  1. #1
    Why we are not able to see our "ALT" tag performance in Mozila firefox...while "ALT" tag working well in Internet Explorer. Is there any specific problem?...In images we use both title as well as alt tag...what is the difference between these two...Please share your knowledge with examples.

    Thanks and Regards,

    Omie
     
    omie, Apr 1, 2008 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Omie, what you're seeing is actually a bug in Internet Explorer. The alt="" attribute of the img element is used to provide alternate content in case the image cannot be displayed. Internet Explorer incorrectly uses the alt="" attribute as a tooltip, which is what the title="" attribute is supposed to be used for.

    Also note that I said they're attributes, not tags. Tags have a beginning and ending delimiter, which are < and > respectively. Attributes are contained inside these tags. Here's a quick summary.

    • div - this is an element (the div element in this case, which is a generic block level division)
    • <div> - this is an opening tag (the opening div tag, in this case)
    • </div> - this is a closing tag (the closing div tag in this case)
    • <div title="descriptive title text">Lorem ipsum dolar...</div> - this is a DIV element expressed with an opening and closing tag pair; note that the opening <div> tag contains a title attribute.
    Hope that helps.
     
    Dan Schulz, Apr 2, 2008 IP
  3. omie

    omie Active Member

    Messages:
    193
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Hi, Dan Schulz...Thank you so much...got it.
     
    omie, Apr 2, 2008 IP
  4. ExtremistOak

    ExtremistOak Well-Known Member

    Messages:
    965
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    130
    #4
    yes I would have gave exactly the same advice
     
    ExtremistOak, Apr 3, 2008 IP