Button
- developer.mozilla.org/en-US/docs/Web/HTML/Element/button
- developer.mozilla.org/en-US/docs/Web/HTML/Element/input/button
- developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit
- developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image
- w3.org/WAI/ARIA/apg/patterns/button
- web.dev/building-a-button-component
- open-ui.org/components/button
Reset Button
<input type="reset">
can be used to reset a form (i.e. reset all input fields to their initial values) [MDN].
Reset buttons should be avoided as a user can click them by accident and thus lose all the inputs they made in a form. In addition, it is usually not very useful to reset a form in the first place. [MDN, webaim.org, nngroup.com]