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
01text_value.html
01text_value.html
<!DOCTYPE HTML> <html lang="hr"> <head> <meta charset="UTF-8"> <title>Input text value</title> </head> <body> Username is filled with 'john' by default. <br>Email field is empty. <br> <br> <form action="script.js" method="POST" enctype="application/x-www-form-urlencoded"> <label for="f1">username:</label> <input type="text" id="f1" name="username" value="john"> <br> <label for="f1">email:</label> <input type="text" id="f1" name="username" value=""> </form> </body> </html>
Reload page
Preview
W3C validation
Edit Code