Setting the value of a text field
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Setting the value of a text field</title> </head> <body> <form method="get" action="textvalue.html"> <p> <label for="yourname">Enter your name:</label> <input type="text" name="yourname" id="yourname" value="Bob"/> </p> <input type="submit"/> </form> </body> </html>