<html>
<head>
<title>html表单中input标签的type值</title>
</head>
<body>
<form method="post" action="#" enctype="multipart/form-data" >
文本输入框:<input type="text" size="32" maxlength="80" name="name" />
<p>单选按钮:<input type="radio" name="sex" value="male" />male<input type="radio" name="sex" value="female" />female
<p>密码输入框:<input type="password" name="pass" />
<p>文件选择框:<input type="file" name="file" />
<p>多选按钮:<input type="checkbox" name="pets" value="cat" />cat<input type="checkbox" name="pets" value="dog" />dog
<p>提交按钮<input type="submit" value="submit" />
<p>复位按钮<input type="reset" value="reset" />
</form>
</body>
</html>
html表单
最新推荐文章于 2022-05-29 10:42:15 发布