| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Researchers attributed highest autism rates yet to better detection pediatricsupersite.com | of a good yoga teacher learn what attributes a yoga teacher should... yogacards.com | Health Care Database Key Attributes Questionnaire ispor.org | Central Florida Health Alliance Foundation | Donor Giving Levels and... leesburgregional.org |
For the use of alt attributes in Wikipedia, see Wikipedia:Alternative text for images. The alt attribute is used in HTML and XHTML documents to specify alternative text (alt text) that is to be rendered when the element to which it is applied cannot be rendered. In HTML 4.01, the attribute is required for the The syntax of the alt attribute is:
or
[edit] ExampleHere is an image whose alt attribute is "In the sky flies a red flag with a white cross whose vertical bar is shifted toward the flagpole." The HTML for this image might be something like the following: <img alt="In the sky flies a red flag with a white cross whose vertical bar is shifted toward the flagpole." src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Dannebrog.jpg/180px-Dannebrog.jpg" width="180" height="135" /> A visually impaired reader, who is using a screen reader such as JAWS or Orca, will hear the alt text in place of the image. A text browser such as Lynx will display the alt text instead of the image. A graphical browser typically will display only the image, and will display the alt text only if you ask it to show the image's properties. Many graphical browsers can be configured to show the alt text instead of the image. [edit] Common misconceptionsInternet Explorer 7 and earlier incorrectly renders text in alt attributes as tooltip text.[1][2] This behavior led many web developers to use alt to display tooltips on webpages,[3] instead of using the The alt attribute is commonly, but incorrectly, referred to as the "alt tag".[2][6][7] [edit] See also[edit] References
[edit] External links
|
| ↑ top of page ↑ | about thumbshots |