Skip to content
HTML.ONE
Home HTML Elements

HTML <button> Element

Represents an interactive button. Specify type="button" when it should not submit a form.

Example

<button type="button">Open menu</button>

Further reference

HTML Living Standard

Live preview