asp.net.ph

Skip Navigation LinksHome > ASP.NET Web Forms > Web Forms Server Controls > Controls You Can Use on Web Forms > ASP.NET HTML WebControls

ASP.NET HTML Controls

  Section Index


HtmlInputImage Server Control

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

More ...
Back to top


© 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