ASP.NET Image AlternateText Property
Image control
Definition and Usage
The AlternateText property is used to set or return the alternate text for the image.
This property specifies the text to display if the image is not available.
When supported by the browser (Internet Explorer), the alternate text is displayed as a tooltip.
Syntax
/> The following example sets the AlternateText property on an Image control (the image file does not exist): Demo Example »
property
Description
text
Specifies the alternate text for the image.
Example
Image control