Your shopping cart is empty!
There are various ways in HTML to create clickable buttons. You can create clickable button using tag.
When you use the element to create a button, the type of button you create is specified using the type attribute. The type attribute can take the following values:
submit: This creates a button that automatically submits a form.
reset: This creates a button that automatically resets form controls to their initial values.
button: This creates a button that is used to trigger a client-side script when the user clicks that button.
Here is the example:
This will produce following result:
You can use an image to create a button. Here is the syntax:
Here src attribiute specifies a location of the image on your webserver.
You can use element to create various buttons. Here is the syntax: