⬅︎ Back to Button tag in bloody Internet Explorer
Nothing in the HTML4/5 standard says elements that are not form elements can behave just how the browser wants.
button is not a form tag that's why submitted value is inconsistant. If you need to have a form (submitting values), you should be using input type=button.
Comment
Nothing in the HTML4/5 standard says elements that are not form elements can behave just how the browser wants.
Parent comment
button is not a form tag that's why submitted value is inconsistant. If you need to have a form (submitting values), you should be using input type=button.