HTML <button> Tag with the 'value' Attribute

<form id="myForm" action="http://www.PuStudy.Com/resources/html-forms-action.html">
<label>Bank Balance: <input name="userBankBalance"></label>
</form>

<button name="userAction" form="myForm" value="Send">
Send Email
</button>

In the above example we add the value attribute to a button control.

About the value Attribute

The value attribute allows you to specify an initial value to the control.

A button (and its value) is only included in the form submission if the button itself was used to initiate the form submission.

About the <button> Element

The <button> element creates a button control in an HTML document.

Any contents of the <button> element appears on the button.

The <button> element can be associated with a form or stand alone by itself (in such case it could have JavaScript attached via the onclick attribute) to make the button actually do something.