表单form_java

表单form_html_02


表单form_html_03

表单form_html_04


表单form_java_05

表单form_java_06

表单form_java_07

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="" method="POST">
<p>
请输入你的姓名:<input type="text">
</p>

<p>
报考院校:<input type="text" value="北京大学">
</p>

<p>
毕业学校:<input type="text" placeholder="请输入真实的毕业学校">
</p>

<p>
性别:
<label>
<input type="radio" name="sex" value="男" checked>男
</label>
<label>
<input type="radio" name="sex" value="女">女
</label>
</p>

<p>
爱好:
<label><input type="checkbox" name="hobby" value="篮球" checked>篮球</label>
<label><input type="checkbox" name="hobby" value="足球">足球</label>
<label><input type="checkbox" name="hobby" value="羽毛球">羽毛球</label>
</p>
</form>


</body>
</html>

表单form_重置_08

表单form_html_09


表单form_java_10

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="2.php" method="POST">
<p>
请选择:
<select>
<option value="js">js</option>
<option value="c">c</option>
<option value="java">java</option>
</select>
</p>

<p>
请输入文本:<textarea cols="30" rows="10"></textarea>
</p>

<p>
<button>按钮</button>
</p>
<p>
<input type="button" value="按钮">
</p>
<p>
<input type="submit" value="提交表单">
</p>
<p>
<input type="reset" value="重置表单">
</p>
</form>


</body>
</html>

表单form_html_11

表单form_java_12