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.
NOTE: Though <button
> can contain images, it is not valid to associate an image map as the contents of a <button
> control.
HtmlButton Control Syntax Button Web Server Controls HTML BUTTON Element