<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<!--<form
action="index.html"提交的路径
method="get"提交的方式
>-->
<form action="index.html" method="get">
账号:<input type="text" placeholder="请输入账号" name="count" id="" value="111" />
<br />
密码:<input type="password" placeholder="请输入密码" name="" id="" value="" />
<br />
<!--单选框 name值必须一致
最好点击文字也可以被选中
-->
性别:
<label><input type="radio"value="man" name="sex" id="man" value="" checked="checked"/>男</label>
<input type="radio"value="woman" name="sex" id="woman" value="" /><label for="woman">女</label><br />
兴趣爱好:<label><input type="checkbox" name="hobby" id="hobby1" value="" />看书</label>
<label><input type="checkbox" name="hobby" id="hobby2" value="" />听歌</label>
<label><input type="checkbox" name="hobby" id="hobby3" value="" />跑步</label>
<br />
做什么:
<select name="">
<option value="">游戏</option>
<option value="">唱歌</option>
<option value="">跳舞</option>
<option value="">游泳</option>
<option value="">爬山</option>
</select><br />
数字:<input type="number" /><br />
邮箱email:<input type="email"placeholder="请输入邮箱" /> <br />
<input type="file" name="" id="" value="" /><br />
<textarea placeholder="可以输入多行" name="" rows="5" cols="30"></textarea><br />
<textarea name="ksraj " style="width: 300px;height: 100px;"></textarea>
<br />
<input type="submit" value="提交" />
<input type="reset" value="清空"/>
<input type="button" value="按钮" /><br />
<button>ann1</button><button>ann2</button><br />
</form>
</body>
</html>
表格
最新推荐文章于 2022-05-30 16:10:19 发布