Alt Attribute | Internet Development Index |
Defines alternative text to be displayed instead of a graphic. Read/write String.
Applies To
Tag Syntax
<v:element alt="expression">
Script Syntax
element.alt="expression"
expression=element.alt
Remarks
The Alt attribute is similar to the standard HTML Alt attribute. This attribute provides a way for browsers that convert text to speech to describe graphical elements on a page.
VML Standard Attribute
See Also
Example
The Alt element below will display the phrase "Red rectangle" in browsers that convert Web pages to spoken phrases.
<v:rect id=myrect fillcolor="red" alt="Red rectangle" style="position:relative;top:1;left:1;width:20;height:20"> </v:rect>
Alt Atribute Example. (Requires Microsoft Internet Explorer 5 or greater.)