表单

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>first</title>
</head>

<body>
<center>
<form>
Name: <input type="text" name="firstname"><br>

</form>

<form>
Password: <input type="password" name="pwd"><br>
</form>


<form name="input" action="https://www.baidu.com/" method="get">
<input type="submit" value="Submit">
</form>

<br>
<br>

<form>
Your sex<br>
<input type="radio" name="sex" value="male">Male<br>
<input type="radio" name="sex" value="female">Female
</form>

<br>

<form>
Your sex<br>
<input type="checkbox" name="character" value="a">energetic<br>
<input type="checkbox" name="character" value="b">gentel<br>
<input type="checkbox" name="character" value="c">kind
</form>

<style type="text/css">
body{
margin-top:100px;
background-color:#d0e4fe;
}
</style>

</center>
</body>
</html>

posted @ 2018-09-16 16:45  xiajie9  阅读(107)  评论(0编辑  收藏  举报