2个回答
展开全部
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
input[type='radio'],
input[type='checkbox'],
label {
cursor: pointer;
}
</style>
</head>
<body>
<form action="地址" methed="post">
学号:
<input type="text" name="user" placeholder="请输入用户名" />
<br />
密码:<input type="text" name="pwd" placeholder="请输入密码" password="键盘" />
<br />
性别:
<input type="radio" name="sex" id="sex1" value="男" checked><label for="sex1">男</label />
<input type="radio" name="sex" id="sex2" value="女"><label for="sex2">女</label />
<br />
电话:<input type="text" name="phone" placeholder="请输入电话号码" />
<br />
邮箱:<input type="text" name="email" placeholder="请输入注册邮箱" />
<br />
出生年月:<input type="text" name="birth" />
<br />
爱好:
<input type="checkbox" name="like" id="like1" value="篮球"><label for="like1">篮球</label />
<input type="checkbox" name="like" id="like2" value="足球"><label for="like2">足球</label />
<input type="checkbox" name="like" id="like3" value="羽毛球"><label for="like3">羽毛球</label />
<br />
<input type="submit" value="提交" />
<input type="reset" value="重置" />
</form>
</body>
</html>
展开全部
这个是基础代码完整的,你要文件,可联系哦
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网站登录</title>
</head>
<body>
<h2>网站登录</h2>
<form action="地址"methed="post">
学号:<input type="text" name="input1" value="" style="" width="20" height="20" placeholder="请输入用户名"></input><br>
密码:<input type="text" name="input1" value="" style="" width="20" height="20"placeholder="请输入密码" password="键盘"></input><br>
性别:<input type="radio" name="radio1" value=""checked>男</input>
<input type="radio" name="radio1" value="">女 </input><br>
电话:<input type="text" name="input1" value="" style="" width="20" height="20" placeholder="请输入电话号码"></input><br>
邮箱:<input type="text" name="input1" value="" style="" width="20" height="20"placeholder="请输入注册邮箱" ></input><br>
出生年月:<input type="text" name="input1" value="" style="" width="20" height="20" ></input><br>
爱好:<input type="checkbox" name="city">篮球
<input type="checkbox" name="city">足球</input>
<input type="checkbox" name="city">羽毛球</input></form><br>
<input type="submit" value="提交"></input>
<input type="reset" value="重置"></input>
</form>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网站登录</title>
</head>
<body>
<h2>网站登录</h2>
<form action="地址"methed="post">
学号:<input type="text" name="input1" value="" style="" width="20" height="20" placeholder="请输入用户名"></input><br>
密码:<input type="text" name="input1" value="" style="" width="20" height="20"placeholder="请输入密码" password="键盘"></input><br>
性别:<input type="radio" name="radio1" value=""checked>男</input>
<input type="radio" name="radio1" value="">女 </input><br>
电话:<input type="text" name="input1" value="" style="" width="20" height="20" placeholder="请输入电话号码"></input><br>
邮箱:<input type="text" name="input1" value="" style="" width="20" height="20"placeholder="请输入注册邮箱" ></input><br>
出生年月:<input type="text" name="input1" value="" style="" width="20" height="20" ></input><br>
爱好:<input type="checkbox" name="city">篮球
<input type="checkbox" name="city">足球</input>
<input type="checkbox" name="city">羽毛球</input></form><br>
<input type="submit" value="提交"></input>
<input type="reset" value="重置"></input>
</form>
</body>
</html>
追答
这是我做出来的
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询