asp.net.ph

Skip Navigation Links

HtmlInputImage Server Control

HtmlInputHidden   HtmlInputRadioButton


Allows programmatic access to the HTML <input type=image> element on the server.

An HtmlInputImage control <input type=image runat="server"> renders a submit button with an image.

The value of the Src attribute specifies the URI of the image that is used on the button. For accessibility reasons, authors should provide alternate text for the image via the Alt attribute.

The following sample illustrates using the HtmlInputImage control.

HtmlInputImage Control Example
Run Sample | View Source

This control offers greater support for down-level browsers than the HtmlButton control.

See Also

HtmlInputImage Control Syntax   HTML INPUT Element



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note