1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adding ALT text to text content

Discussion in 'HTML & Website Design' started by jc_44, Jul 13, 2005.

  1. #1
    I am trying to add ALTtext to text in my content. What I need to do is have a specific word in my content highlighted in bold and then when you hold your curser over the highlighted word you get the definition of that word in the alt text. I have not seen this done anywere but I'm sure it is posible. Can anyone help?
     
    jc_44, Jul 13, 2005 IP
  2. SirNot

    SirNot Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is this what you're thinking of?
    
    <html>
    <head>
    <title>Acronym Tag Test</title>
    <style>
    acronym {border: 0; font-weight: bold;}
    </style>
    </head>
    <body>
    This is a test of a certain tag in <acronym title="HyperText Markup Language">HTML</acronym>.
    </body>
    </html>
    
    Code (markup):
     
    SirNot, Jul 13, 2005 IP
  3. Stin

    Stin Guest

    Messages:
    264
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i think u can also do something like this:

    I have a new pet <B title="A kangaroo has a pouch">kangaroo</B>.
    Code (markup):
    I havent tested it though.
     
    Stin, Jul 13, 2005 IP
  4. gatordun

    gatordun Guest

    Messages:
    114
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You left your bold tag open.

    <B> open tag and close tag </B>

    and no period

    What is an acronym title and why do you need one?
     
    gatordun, Jul 14, 2005 IP
  5. jc_44

    jc_44 Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You guys nailed it again. I am never disapointed when I ask a question on this forum. Thank you.
     
    jc_44, Jul 15, 2005 IP
  6. Stin

    Stin Guest

    Messages:
    264
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Uhm, my tags are closed. And whats wrong with putting a period on there? Its just for style points.. Geez go look for actual errors to nit pick.
     
    Stin, Jul 17, 2005 IP