System.Web.UI.HtmlControls.HtmlImage.Alt Property

Gets or sets the alternative caption the browser displays if an image is unavailable or currently downloading and not yet finished.

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 this property to specify the caption displayed when the image specified by the HtmlImage.Src property is unavailable. On newer browsers, this caption also appears as a ToolTip.

Requirements

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