www.webdeveloper.com
Results 1 to 11 of 11

Thread: ALT text

  1. #1
    Join Date
    Jan 2009
    Posts
    147

    ALT text

    The associate pastor for the church page I'm working on has asked if I could link all the verses on the website to a place where the actual scripture could be read. Now, actually linking the verse address to the verse itself would become very time consuming. I have seen on some sites that when you place your mouse over a word, alt text would come up with information.

    I want to make it so that when you mouse over a scripture, a bubble will pop up with the words to the scripture just as if you moused over an image and alt text came up.

    How would I go about doing that?

    Thank you for your help in advance.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654

  3. #3
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    Just adding title="something" to any tag in your page will make the text (in this instalce "something") appear in a tooltip when you move the mouse over the content of that tag.

    The alt attribute in images describes the purpose of the image to those visitors who can't see the image.

  4. #4
    Join Date
    Jan 2009
    Posts
    147
    Will title support a large lump of text?

  5. #5
    Join Date
    Jan 2009
    Posts
    147
    and... can I put in in a span tag so that I don't have to put the verses on new lines

  6. #6
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,278
    Read, mark, learn and inwardly digest: http://www.w3.org/TR/REC-html40/ .
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  7. #7
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,217

  8. #8
    Join Date
    Jan 2009
    Posts
    147
    Hey Mr Charles,

    are there sites like that for CSS and javascript also?

  9. #9
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,278
    For CSS : http://www.w3.org/TR/CSS2/
    For JavaScript : http://www.ecma-international.org/pu...s/Ecma-262.htm + http://www.w3.org/DOM/DOMTR (JavaScript = ECMA 262 + W3C DOM)

    And most importantly, you'll need the following to know how to safely put it all together : http://www.w3.org/TR/WCAG10/
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  10. #10
    Join Date
    Jan 2009
    Posts
    147
    I just wanted to be able to look through it all because I always like how my page is layed out on my laptop but it never looks the same on anyone elses computer because most people who see the page are on old desktops. I want the websites to be valid enough that it will look similar no matter what it is being viewed on. Like msn.com is the same on every screen. My pages always get distorted badly when resolution is different.

    Thanks for the references.

  11. #11
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,278
    Web pages are supposed to seem different on different platforms and such. Your job is to make it work well on all of them but you'll have to give up being a control freak. The sites that seem to stay the same, those are often the very worse. They tend to vary very little on graphical browsers but as soon as you try to use a non-graphical one they collapse.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles