A button coded as below::
The <button> tag defines a push button.
Inside a button element you can put content, like text or images. This is the difference between
this element and buttons created with the input element.
Always specify the type attribute for the button. The default type for Internet Explorer is
"button", while in other browsers (and in the W3C specification) it is "submit".
The <button> tag is supported in all major browsers.
Important: If you use the button element in an HTML form, different browsers will submit
different values. Internet Explorer will submit the text between the <button> and </button>
tags, while other browsers will submit Content of the value attribute. Use the input element to create buttons in an HTML form.
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the
attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <button> tag supports the following standard attributes:
More information about Standard Attributes.
The <button> tag supports the following event attributes:
More information about Event Attributes.
Your Query was successfully sent!