Introduction:
The HTML
button
tag is used for creating a button within forms.Although you can also use the <input>
tag to create an HTML button, the <button>
tag does have some advantages. In particular, you can place HTML between the <button>
</button>
tags. This enables you to do things you wouldn't normally be able to with the <input>
tag.
Example:
<html> <head> <title>HTML button Tag</title> </head> <body> <form> <button name="quackitButton" value="Submit" type="button">Click Me</button> </form> </body> </html>
0 comments :
Post a Comment