The HTML Elements reference.

"button" - html element

  • This element defines a submit button, reset button, or push button.
  • Starttag <button> is Required and endtag </button> is Required
  • You can also use 'input' to specify these buttons, but the this element allows richer labels, including images and emphasis.
  • Browsers that support the button - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari

accesskey , class , dir , disabled , id , lang , name , style , tabindex , title , type , value

Attribute "accesskey" value(s): a character as the accesskey
  • Assigns an access key to an element. Pressing an access key assigned to an element gives focus to the element. Will move focus to the button element and depending on the browser execute any action related to the button.
  • The action that occurs when an element receives focus depends on the element.

Attribute "accesskey" example:
   <form  action="">
     <button accesskey="X" title="Visit"
      onclick="if (document.all)
               else  document.form[0].submit();" >

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.