Tuesday, 23.07.2019, 18:38
Welcome Guest
All Html Tags

Articles for Webmaster
:: Proffesional Website Builders
:: Div Tag in Html Examples
:: Notepad As a Free Html Editor

button Tag in Html

Defines a form button that has content within it.

button Tag Attributes

accesskey - can be used to associate a particular keyboard shortcut to the element.
tabindex - can be used to specify where the element appears in the tab order of the page.
disabled - can be used to disable the button. It must be used in the format disabled="disabled".
name - can be used to associate a name to the button so that it can be processed by a form-handling script.
type - can be used to specify the button type. Values can be button (doesn't do anything), submit (default; submits the form when the button is selected) or reset (resets the form).
value - can be used to specify an initial value.

Browser Support


Code Example

<button>Push my <strong>button</strong> baby</button>

HtmlCodeExamples.Com © 2019