Buttons - Level 04
Quiz
When should you use a button?
Possible answers to the quiz
When you want to download a file from a website.
When you want to navigate to another web page.
The button element is purely cosmetic. You can replace it with any other HTML element, using an
onclick
handler and ARIA.When you want to perform an action on the current page, such as submitting a form or closing a pop-up.