secondPage

时间:2022-04-09 18:35:32

写的第二个页面,参照着别人的代码,网上找寻自己需要的标签,每个小地方都得试许多次才能明白标签的正确使用方法,自己动手写出来一个页面虽然超级粗糙,但是挺有收获的。

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>secondPage</title>
</head>
<body>
<p>
name:<input type="text" name="name" required="required">
</p>
<p>
password:<input type="password" name="passwd" required="required">
</p>
请选择性别:
<br/><br/><input type="radio" name="sex" id="man"/><label for="man">男</label><br/><br/>
<input type="radio" name="sex" id="woman"/><label for="woman">女</label><br/><br/>
请选择喜欢的地区:<br/><br/>
<fieldset>
<input type="checkbox" name="四川"/>四川
<input type="checkbox" name="湖北"/>湖北
<input type="checkbox" name="甘肃"/>甘肃
<input type="checkbox" name="云南"/>云南
<input type="checkbox" name="其他"/>其他
</fieldset><br/>
<p>
hobby:<input type="text" name="habby">
</p>
<input type="submit" value="submit"/><br/><br/>
</body>
</html>

相关文章