Not the answer you're looking for? Two button elements that act as one submit button and one reset button (in a form): The type attribute specifies the type of button. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. So how do you display text in the button? To give an icon button an accessible name, put text in the