The HTML <button> Tag

Some of you may not know about the HTML <button> tag. It is part of the W3C Standard for HTML 4.01 ( and has an additional feature that is not available with the ordinary <input type="button"> tag: the ability to add structured content to a button, such as images.

You can see an example here:

Otherwise, it supports all of the normal properties for an HTML element, like an <input> it must be contained in a <form> and may include the name and value attributes, which are sent on form submits.

It is supported on IE 5+, Opera, Firefox 2+, Safari and Chrome.


1 Comment

Comments have been disabled for this content.