61,112
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<title>内容页</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
</head>
<style type="text/css">
/*标题样式*/
#title{
font:bold 25px 黑体;
text-align:center;
}
/*除标题外文字样式*/
#word{
font:15px 宋体;
line-height:20px;
}
/*整个表单左填充15px样式*/
#allForm{
padding-left:15px;
}
/*表单距离10px样式(文本外边距)*/
.spaceMargin{
margin-left:10px;
}
</style>
<body>
<div id="title">注册页</div>
<div id="word">
<form method="post" action="" enctype="multipart/from-data" id="allForm">
姓名:
<input name="name" type="text" size="20" maxlength="6" class="spaceMargin" /><br/>
密码:
<input name="password" type="password" size="21" class="spaceMargin" /><br/>
性别:
<input name="sex" type="radio" value="男" checked="checked" />男
<input name="sex" type="radio" value="女" />女<br/>
照片:
<input name="files" type="file" class="spaceMargin" /><br/>
爱好:
<input name="hobby" type="checkbox" value="书" />书
<input name="hobby" type="checkbox" value="运动" />运动
<input name="hobby" type="checkbox" value="聊天" />聊天<br/>
所在城市:
<select name="city" size="1">
<option value="0" selected="selected">请选择</option>
<option value="1" >上海</option>
<option value="2" >北京</option>
<option value="3" >南京</option>
</select><br/>
<br/>协议:<br/>
<textarea cols="27" rows="6" readonly="readonly">请遵守相关规定,互相尊重,营造良好氛围。</textarea><br/>
<input name="hasread" type="checkbox" value="读过没" checked="checked" />我认真阅读并接受以上协议。<br/>
<input name="提交" type="submit" value="提交" disabled="disabled" />
<input name="提交" type="reset" value="重置" />
</form>
</div>
</body>
</html>
<html>
<head>
<title>内容页</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
</head>
<style type="text/css">
/*标题样式*/
#title{
font:bold 25px 黑体;
text-align:center;
}
/*除标题外文字样式*/
body{
font:15px 宋体;
}
.hanggao{
margin:20px 0;
}
/*整个表单左填充15px样式*/
#allForm{
padding-left:15px;
}
/*表单距离10px样式(文本外边距)*/
.spaceMargin{
margin-left:10px;
}
</style>
<body>
<div id="title">注册页</div>
<div>
<form method="post" action="" enctype="multipart/from-data" id="allForm">
姓名:
<input name="name" type="text" size="20" maxlength="6" class="spaceMargin" /><br/>
<div class="hanggao"></div>
密码:
<input name="password" type="password" size="21" class="spaceMargin" /><br/>
<div class="hanggao"></div>
性别:
<input name="sex" type="radio" value="男" checked="checked" />男
<input name="sex" type="radio" value="女" />女<br/>
<div class="hanggao"></div>
照片:
<input name="files" type="file" class="spaceMargin" /><br/>
<div class="hanggao"></div>
爱好:
<input name="hobby" type="checkbox" value="书" />书
<input name="hobby" type="checkbox" value="运动" />运动
<input name="hobby" type="checkbox" value="聊天" />聊天<br/>
<div class="hanggao"></div>
所在城市:
<select name="city" size="1">
<option value="0" selected="selected">请选择</option>
<option value="1" >上海</option>
<option value="2" >北京</option>
<option value="3" >南京</option>
</select><br/>
<div class="hanggao"></div>
<br/>协议:<br/>
<textarea cols="27" rows="6" readonly="readonly">请遵守相关规定,互相尊重,营造良好氛围。</textarea><br/>
<input name="hasread" type="checkbox" value="读过没" checked="checked" />我认真阅读并接受以上协议。<br/>
<input name="提交" type="submit" value="提交" disabled="disabled" />
<input name="提交" type="reset" value="重置" />
</form>
</div>
</body>
</html>