Adding a button in HTML | styling a button
To add a button in a HTML page use <input> tags and specify the type as button like so
<input type=”button” value=”submit” action=”submit.php”> this code will be rendered in browser like in Figure 1.1
Add caption |
Further more if you wish to style this button we can apply a set of CSS rules to make the buttons look pretty here are a few examples:
Comments
Post a Comment