Last Updated on April 26, 2023 by Roshan Parihar
HTML button tag is used to define a clickable button in HTML forms.
Syntax
1 |
<button>Enter text here...</button> |
1 2 3 4 5 |
<form action="#"> <label for="Your Name">Enter your Name</label> <input type="text" name="yourname"/> <button name="submit" type="button">Submit</button> </form> |
Output
Resources and References of HTML button tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github