The HtmlInputImage control allows developers to program against the HTML <input type=image>
element. Developers can use this control in conjunction with the HtmlInputText, HtmlTextArea, and other controls to construct user input forms. For button customization, this control offers greater support for down-level browsers than the HtmlButton control.
Note This control does not require a closing tag.
ASP+ Syntax
<input type=image runat=server id="programmaticID" src="imagepath" align="imagealignment" alt="alttext" OnServerClick="onserverclickhandler" width="borderwidthinpixels" >
Tasks
Writing Event Handlers for Server Controls
Aligning an Image Button with Surrounding Text
See Also