An important part of the web technology is buttons, doing someting. There is several ways of creating something clickable, thus executing a command. These are shown on other pages on the site. But what about a completely ordinary button? In essence, there is two ways of doing this.
The standard buttons that are possible to make with this technique are very limited in terms of playing around with the looks. If you need something with a bit more swing, you need to use a CSS3 technique instead.
The BUTTON tag
Specifies how form-data should be encoded, before being sent to a server. Only for TYPE="submit"
Specifies how to send form-data (i.e. which HTTP metod to use). Only for TYPE="submit"
Specifies that the form-data should not be validated on submission. Only for TYPE="submit"
_blank _self _parent _top framenavn
Specifies where to display the response after submitting the form. Only for TYPE="submit"
Specifies a name for the button
Specifies the button type
Specifies the button's start value
INPUT and FORM tags
The other way of creating buttons is the INPUT tag, which is used with the FORM tag. Here the text on the button is specified using the attribute VALUE, and you don't have any ONCLICK. Instead you use TYPE="submit", and in the FORM tag you have an attribute called ONSUBMIT where you specify what happens when the button is pressed. If you don't specify anything for VALUE, the browsers have a standard phrase they add. The phrase being used depends on the browser and end browser's language, so specifying VALUE is advisable.
Changes in color is the same as the BUTTON tag. You can change the face but not eh edges, so the result isn't very good.
In principle you can't insert pictures on the buttons, but with a small workaround involving STYLE and the variables for background-image, you can do something. Here it is the image from the BUTTONS example, inserted as a background.