Added type attribute for button tags

The button submits the form data to the server. This is the default if the attribute is not specified.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type