In this section, you will see the use of <button> tag in html5.In this section, you will see the use of <button> tag in html5.
In this section, we will introduce you to the button
<button> tag. Button tag is used for showing button on screen or at browser. It is
a pair tag. Content inside the button tag will be display as name of button.
you can put image or text inside the button tag. But input tag does not support it.
Declaration syntax of button tag in HTML5.
|<button>Text area </button>|
The declaration of break line is case_ insensitive.
In HTML5, button tag supports some new attributes like autofocus, form, formmethod, formtarget etc. but HTML4.01 not supports them.