Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
frontend
html
examples
forms
25label.html
25label.html
<!DOCTYPE HTML> <html lang="hr"> <head> <meta charset="UTF-8"> <title>Submit, reset and button types</title> </head> <body> <form action="" method="POST" enctype="application/x-www-form-urlencoded"> <label for="1">First name:</label> <input type="text" id="1" name="firstname" value="John Dean"> <br> <br> <br>Animals: <br><label for="2">Dog:</label> <input type="checkbox" id="2" name="animal" value="dog"> <br><label for="3">Cat:</label> <input type="checkbox" id="3" name="animal" value="cat"> </form> </body> </html>
Reload page
Preview
W3C validation
Edit Code