Created
October 18, 2012 07:13
-
-
Save fengxx/3910257 to your computer and use it in GitHub Desktop.
simple form
This file contains hidden or 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
<html> | |
<form id="form1" action="/testpost" method="post"> | |
<table> | |
<tr> | |
<td> | |
<label for="username">Name: </label> | |
</td> | |
<td> | |
<input type="text" id="username" name="username"></input> | |
</td> | |
</tr> | |
<tr><td> | |
<label for="state">State: </label> | |
</td> | |
<td> | |
<select name="state" id="state"> | |
<option value="S0001">S1</option> | |
<option value="S0002">S2</option> | |
</select> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<label for="type">Type: </label> | |
</td> | |
<td> | |
<input type="radio" name="type" value="1st" checked>TypeA | |
<input type="radio" name="type" value="2nd">TypeB | |
</td> | |
</tr> | |
</table> | |
<input type="submit" value="Submit"></input> | |
</form> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment