<form> <p>username<input type="text" name="username" id="uid" value="" /></p> <p>password<input type="text" name="password" id="pid" value="" /></p> <input type="button" value="button"> <input type="submit" value="submit" /> <input type="reset" name="" id="" value="reset" /> </form>
<body> <form> <table border="1" width="200" height="30"> <tr> <td> <input type="radio" checked="" name="sex" id="boy" value="0"> <label for="boy">男</label> <input type="radio" name="sex" id="girl" value="1"> <label for="girl">女</label> <input type="radio" name="sex" id="secret" value="2"> <label for="secret">保密</label> </td> </tr> </table> </form> </body>
<body> <form> <table border="1" width="300" height="30"> <tr> <td colspan="3" align="center"> <label><input name="subject" id="p" type="checkbox" value="0" />Python </label> <label><input name="subject" id="j" type="checkbox" value="1" />Java </label> <label><input name="subject" id="h" type="checkbox" value="2" />Html </label> <label><input name="subject" id="g" type="checkbox" value="3" />Go </label> </td> </tr> </table> </form> </body>
<body> <form> <table border="1" width="100" height="30"> <tr> <td colspan="3"> <select id="school" value="dcs"> <option value="1">多测试深圳校区</option> <option value="2">多测试广州校区</option> <option value="3">多测试上海校区</option> <option value="4">多测试北京校区</option> <option value="5">多测试天津校区</option> </select> </td> </tr> </table> </form> </body>
<body> <form> <table border="1" width="100" height="30"> <tr> <td colspan="3"> <input type="file" /> </td> </tr> </table> </form> </body>
原文:https://www.cnblogs.com/ZhengYing0813/p/12539975.html