System.Web.UI.HtmlControls.HtmlInputImage.Alt Property

Gets or sets the alternative text that the browser displays if the image is unavailable or has not been downloaded.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
public string Alt { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the HtmlInputImage.Alt property to specify the text to display when the specified image is not available or has not been downloaded. You can also use this property to programmatically determine the specified alternative text.

In browsers that support the ToolTip feature, this text also appears as a ToolTip for the System.Web.UI.HtmlControls.HtmlInputImage control.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0