Home › HTML Tutorial › HTML buttons
HTML buttons
Clickable controls.
Use button for actions. Set type to button, submit or reset.
Example code
<button type='button' onclick='alert(1)'>Click me</button>
<button disabled>Disabled</button>'Home › HTML Tutorial › HTML buttons
Clickable controls.
Use button for actions. Set type to button, submit or reset.
<button type='button' onclick='alert(1)'>Click me</button>
<button disabled>Disabled</button>'