Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Simple HTML Mouse-over effect help

    Ok, I've searched for a mouse-over effect that I want, where a little dialogue box pops up when mousing over an image. I recently found this code:
    <img src="..." alt="..." title="text you want to see" />

    What goes in alt="..." ?

  • #2
    Regular Coder
    Join Date
    Jul 2005
    Posts
    352
    Thanks
    1
    Thanked 0 Times in 0 Posts
    In the alt section you put what text you want to see when the mouse is over an image.

    so the code would be:

    Code:
    <img src="..." alt="The text that you want to see">
    I hope that this helps.

  • #3
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mw2005
    In the alt section you put what text you want to see when the mouse is over an image.

    so the code would be:

    Code:
    <img src="..." alt="The text that you want to see">
    I hope that this helps.
    It helps a bundle! Thanks!

  • #4
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    Although to be strictly kosher, alt tags should really contain an accurate description of the image - they are intended for blind users and people with images turned off.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •