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


HtmlButton Server Control

Allows programmatic access to the HTML <button> element on the server.

The HtmlButton control <button runat=server> specifies a container for rich HTML that is rendered as a button.

The control enables Web developers to create rich form buttons that can be composed from embedded HTML elements, such as animated images, and even other ASP.NET server controls.

The following sample illustrates using the HtmlButton control.

Modifying the Appearance of an HtmlButton Control
Run Sample | View Source

NOTE: Though <button> can contain images, it is not valid to associate an image map as the contents of a <button> control.

See Also

HtmlButton Control Syntax   Button Web Server Controls   HTML BUTTON 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