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. Different browsers uses different default values for the type attribute.
HTML5 has new attributes: autofocus,form, formaction, formenctype, formmethod, formnovalidate, and formtarget.
Note: If you use the button element in an HTML form, different browsers may submit different values. Use <input> to create buttons in an HTML form.
The <button> tag also supports the Standard Attributes in HTML5.
The <button> tag also supports the Event Attributes in HTML5.
Your Query was successfully sent!