where can the alt tag can be used
except from the <img>?
with the <a> tag you can use title which produces the same effect.
<a href=# title="test">link</a>
There isn't supposed to be an effect with the "alt" attribute (http://www.w3.org/TR/html401/struct/....html#adef-alt), except when an image cannot be displayd. Then the attribute supplies some text that will be presented to the user in the images stead. It's an important accessibility feature and you need to be careful how you use it. If you want a "tool tip" then use the "title" attribute (http://www.w3.org/TR/html401/struct/...tml#adef-title), which you can with "[a]ll elements but BASE, BASEFONT, HEAD, HTML, META, PARAM, SCRIPT, TITLE".
“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
israel is 56 years young and will be here for ever
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)