ASP.NET Image Control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
The ASP.NET Image control is used to display an image on the webpage. The control is rendered as a HTML image (img).
Working example.

Creating the ASP.NET Image control.
As from the above example.
< asp:Image ID="Image1" runat="server" AlternateText="XBox 360 Major league Baseball."
ImageUrl="~/XBox/images/baseball.jpg" />
The above example will be rendered as HTML with the result below (source).
<img id="ctl00_ContentPlaceHolder1_Image1" src="../XBox/images/baseball.jpg" alt="XBox 360 Major league Baseball." style="border-width:0px;" />
|