To clear all inputs in a form, a button of type ______ should be used.
- button
- clear
- reset
- submit
The reset button type creates a button that, when clicked, resets all the form fields to their initial values. This can be especially useful if a user wants to start over with the form. However, caution should be exercised with its use, as users might accidentally click it and lose all their input.
Loading...
Related Quiz
- To open a linked document in the parent frame, target="______" is used.
- The _______ element should be used to provide a reference for a blockquote when it is not part of the quoting sentence.
- How is the blockquote element commonly displayed in browsers by default?
- To merge two or more cells into a single cell horizontally, you use the ______ attribute in a td or th element.
- How would you implement smooth scrolling to anchors within a webpage using HTML and CSS?