What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-html, is-html-attribute, from-w3c
ImgAltAttribute  
The img alt attribute specifies alternate text that describes the element in case it can not be displayed or the browser does not support it.

You are here: Home > HTML Reference > Elements > <img> element > alt attribute

Usage

Values

Elements

You can use the alt attribute on the following elements:

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
img.alt reflects <img alt="foo"> Y Y Y Y Y Y Y Y

Further reading


Sign in to add a comment