<button> Tag Attributes
Attributes of the <button> tag
global attributes | In addition to the personal attributes of the <button> tag below, any of the common HTML attributes can also be coded. |
autofocus="autofocus" |
Sets the value of the <button autofocus> boolean attribute to true . Omitting it sets to false . |
disabled="disabled" |
Sets the value of the <button disabled> boolean attribute to true . Omitting it sets to false . |
form |
|
formaction |
a URI reference (or IRI reference depending on the Use percent escape codes as explained in the URL Encoding Tutorial for any special characters in the URI reference. If the value of the
If the protocol scheme, username, host name/IP address and port number are omitted the default is the current host - the same server as the base of the current document. If the path starts with a slash |
formenctype |
|
formmethod |
|
formnovalidate |
|
formtarget |
|
name |
|
type="submit" type="button" type="reset" |
|
value |