What is a <button> tag?

Experience Level: Junior
Tags: HTML

Answer

The <button> tag is used to render a clickable button. You can put not just text but images as well to the button element.

Example
<button>Click me!</button>
Related HTML job interview questions
HTML for beginners
HTML for beginners

Are you learning HTML? Try our test we designed to help you progress faster.

Test yourself