Using the <button> Element

<button>: The Button element

The <button> HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs an action, such as submitting a form or opening a dialog.

By default, HTML buttons are presented in a style resembling the platform the user agent runs on, but you can change buttons' appearance with CSS.


Source: Mozilla, https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.