html button type
snippet in html

html button type

user5151

<button type = 'button'></button>
<button type = 'submit'></button>
<button type = 'reset'></button>

html type of buttons

user2987

<!-- Type 'button' means the button is clickable -->
<button type="button"></button>
<!-- Type 'submit' means it submits form-data -->
<button type="submit"></button>
<!-- Type 'reset' means the form-data is reset -->
<button type="reset"></button>

input type button

user3389

<input type="button" value="Button content...">

type button on form

user2916

<form action="/button-type">
<button type="button" onclick="alert('This button does nothing.')">Click me for no reason!</button><br><br>
<label for="name">Name</label><br>
<input name="name"><br><br>
<button type="reset">Reset the form!</button><br><br>
<button type="submit" disabled>Submit (disabled)</button>
</form>