Standard button behavior
that have this behavior applied by default (see master style sheet):
<button></button> <input type=“button” /><widget type=“button”></widget> <input type=“reset” /> <input type=“submit” /> that this behavior knows about:
value=“caption” - caption that will appear on the button 1)Together with the standard set of events (mouse, keyboard, focus) behavior: button generates:
spacebar key click when button is in focus. Posted (asynchronous) eventspacebar key down when button is in focus. Synchronous event.<button> element uses its content as a caption, example:
<button><img src=.../> and some text</botton>will be rendered as a button with the image and text inside.