Created
July 1, 2011 22:05
-
-
Save eirikbakke/1059502 to your computer and use it in GitHub Desktop.
Example of an HTML form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- To submit form data back to the same page (and thus the same Servlet), use "#" for the | |
action. Otherwise specify a relative URL to a different page for the action. --> | |
<form action="#"> | |
<label for="ageField" >Your age: </label> | |
<input type="text" name="ageParam" id="ageField" /><br/> | |
<label for="colorField">Favorite color:</label> | |
<input type="text" name="colorParam" id="colorField"/><br/> | |
<input type="submit" value="Click me to submit!"/> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment