注册登陆页面HTML代码该怎么写?

注册登陆页面HTML代码该怎么写?,第1张

以下为个人原创教学例子,任何人引用需注明出自百度知道用户am7972,楼主可供参考\x0d\x0a该例子涵盖了文本框、密码框、下拉菜单、单选框、复选框及文本区的使用\x0d\x0a同时在数据的使用方面涵盖了文本型、数值型、日期型、布尔型的使用\x0d\x0a也涵盖了在会员信息入数据库前,进行严格的数据检查\x0d\x0a不足处,JS验证还不是太完善,不过有服务端认证足够了\x0d\x0a会员注册\x0d\x0a\x0d\x0a\x0d\x0a\x0d\x0a\x0d\x0a\x0d\x0a\x0d\x0a

会员注员 \x0d\x0a

姓名: \x0d\x0a
密码: \x0d\x0a
性别: 男 女 \x0d\x0a
生日: \x0d\x0a
年龄: \x0d\x0a
爱好: 上网读书 体育 \x0d\x0a
上网方式: \x0d\x0a 拨号上网 无线上网 光纤上网 \x0d\x0a \x0d\x0a
个人简介:

\x0d\x0a\x0d\x0a\x0d\x0a\x0d\x0a====bb.asp的会员注册非法数据监测====\x0d\x0a0 Then\x0d\x0a Response.write "姓名不能包含特殊符号!@#$%^&*()_-+|?/"",." \x0d\x0a Response.End \x0d\x0a End If\x0d\x0aNext\x0d\x0a'判断密码合不合法,是否包含非法数据userPassword = Trim(userPassword)If userPassword ="" Then Response.write "密码不能为空" Response.EndEnd If\x0d\x0aIf Len(userPassword)>20 Then\x0d\x0a Response.write "密码字数不能超过20个字" \x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0a'判断密码合不合法,是否包含非法数据\x0d\x0aSex = Trim(Sex)\x0d\x0aIf Sex = "" Then\x0d\x0a Response.write "性别不能为空"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aIf Sex "True" And Sex "False" Then\x0d\x0a Response.write "性别不能为不男不女"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0a'判断生日合不合法,是否包含非法数据\x0d\x0auserSR = Trim(userSR)\x0d\x0aIf userSR ="" Then\x0d\x0a Response.write "生日不能为空"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aIf Len(userSR)10 Then '例如:2012-6-3 2012-11-23\x0d\x0a Response.write "你输入的生日字数不对,应为2012-6-3或2012-11-23格式" \x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aIf IsDate(userSR)=False Then\x0d\x0a Response.write "你输入的生日格式不能转化为日期,请核实" \x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aIf DateDiff("yyyy",userSR,Date())200 Then\x0d\x0a Response.write "根据你输入的生日你可能小于1岁或已经超过200岁了,请核查重新输入" \x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0a'判断年龄合不合法,是否包含非法数据userNL = Trim(userNL)If userNL ="" Then\x0d\x0a Response.write "年龄不能为空" \x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aIf IsNumeric(userNL)=False Then\x0d\x0a Response.write "你输入的年龄不能转化为数值,请核查"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0auserNL = CInt(userNL)\x0d\x0aIf userNL200 Then\x0d\x0a Response.write "你输入的年龄不能小于0岁或者大于200岁,请核查"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0a'判断爱好合不合法,是否包含非法数据ah = Trim(ah) '选择多个爱好则系统会用,分开 //测试\x0d\x0aah = Replace(ah," ","")\x0d\x0aarrAh = Split(ah,",")\x0d\x0aFor i = LBound(arrAh) To UBound(arrAh)\x0d\x0a If arrAh(i)"sw" And arrAh(i)"ds" And arrAh(i)"ty" Then \x0d\x0aResponse.write i & "你选择的爱好有问题,请核查" & arrAh(i)\x0d\x0aResponse.End\x0d\x0aEnd If\x0d\x0aNext\x0d\x0a'判断上网方式合不合法,是否包含非法数据swfs = Trim(swfs)If swfs = "" Then\x0d\x0a Response.write "上网方式不能为空"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aIf swfs"bhsw" And swfs"wxsw" And swfs"gxsw" Then\x0d\x0a Response.write "你选择的上网方式有问题,请核查"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0a'判断个人简介是否为空,是否超出1000个字\x0d\x0auserGrjs = Trim(userGrjs)\x0d\x0aIf userGrjs = "" Then\x0d\x0a Response.write "个人简介不能为空" \x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aIf Len(userGrjs) > 1000 Then\x0d\x0a Response.write "个人简介不能超过1000个字"\x0d\x0a Response.End\x0d\x0aEnd If\x0d\x0aResponse.write "数据合法性检测通过"\x0d\x0a%>\x0d\x0a====登陆的HTML代码可相信楼主参照会员注册代码应该没问题了====

HTML个人简历代码如下

<html>

<head>

<title>真实名字</title>

<mate name="keywords" content="个人简历"/>

<mate name="description" content="XXXX的个人简历"/>

</head>

<body>

<table border=5 bordercolor=red align=center>

<tr height=70 bgcolor=green align='center'>

<td width=720 colspan=6 align=center

><font size=5 ><b><a href=http://blog.sina.com.cn/u/3083814572>个人简历

</a></b></font></td>

</tr>

<tr height=50 bgcolor=green>

<td width=110 align=center

><font size=5>姓名:</td>

<td width=150 align=center

><font size=5><a

href=http://user.qzone.qq.com/504660181/infocenter#home>XXX</td>

<td width=110 align=center

><font size=5>性别:</td>

<td width=150 align=center

><font size=5>男</td>

<td width=200 colspan=2 rowspan=4><img

src="http://b264.photo.store.qq.com/psb?/1e607185-b189-4edb-a6a9-

3c3e3f4bc25a/lpJL3i5H3AWovj6*eYZTbXKgOtEQuAkqByv4H*wMyRw!/b/dKMBZp1AIgAA

&bo=gALgAQAAAAABAEQ" alt="XXX照片" width=200 height=200></td>

</tr>

<tr height=50 bgcolor=green>

<td width=110 align=center

><font size=4 align=center

>出生年月:</td>

<td width=150 align=center

><font size=5>1992.4.6</td>

<td width=110 align=center

><font size=5>民族:</td>

<td width=150 align=center

><font size=5>汉</td>

</tr>

<tr height=50 bgcolor=green>

<td width=110 align=center

><font size=5>学历:</td>

<td width=150 align=center

><font size=5 align=center

>大专</td>

<td width=110 align=center

><font size=5>专业:</td>

<td width=150 align=center

><font size=4>数控车工</td>

</tr>

<tr height=50 bgcolor=green>

<td width=110 align=center

><font size=5>籍贯:</td>

<td width=150 align=center

><font size=4>河南原阳</td>

<td width=110 align=center

><font size=4>联系电话:</td>

<td width=150 align=center

><font size=3>13602664383</td>

</tr>

<tr height=50 bgcolor=green>

<td width=100 align=center

><font size=4>毕业学校:</td>

<td width=620 colspan=5 align=center

><font size=5>河南经济贸易高级技工学校</td>

</tr>

<tr height=50 bgcolor=green>

<td width=110 align=center

><font size=5>住址:</td>

<td width=610 colspan=5 align=center

><font size=5>下油松新村</td>

</tr>

<tr height=50 bgcolor=green>

<td width=110 align=center

><font size=4>电子邮箱:</td>

<td width=610 colspan=5 align=center

><font [email protected]</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6 align=center

><font size=5>教育历程</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6 align=center>2007.9-2011.6 在河南高级技工学校读

中专</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6 align=center>2010.9-至今 报读郑州轻工业学院成人大

专</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6 align=center

><font size=5>工作经历</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6 align=center>2011.6-至今 在富士康科技集团工作

</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6 align=center

><font size=5>自我评价</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6>个人工作勤奋,认真负责,能吃苦耐劳,尽职尽责,

</td>

</tr>

<tr height=50 bgcolor=green>

<td width=720 colspan=6></td>

</tr>

</table>

<center><script language="javascript" type="text/javascript"

src="http://js.users.51.la/15653809.js"></script>

<noscript><a href="http://www.51.la/?15653809" target="_blank"><img

alt="我要啦免费统计"

src="http://img.users.51.la/15653809.asp" style="border:none"

/></a></noscript>

</body>

</html>

HTML编写个人简历代码table表格样式的:

<html>

<head>

<title>个人简历表</title>

</head>

<body>

<table border="1" cellpadding="3" cellspacing="3" align="center" bgcolor="#33333">

<tr align="center" >

<td align="center" colspan="5">

<font size="13"><b>个人基本简历</b></font>

</td>

</tr>

<tr align="center" >

<td width="200">姓名</td>

<td width="100">XX</td>

<td width="100">国籍</td>

<td width="100">中国</td>

<td rowspan="5">粘贴相片处</td>

</tr>

<tr align="center">

<td>性别</td>

<td>XX</td>

<td>年龄</td>

<td>XX</td>

</tr>

<tr align="center">

<td>目前所在地</td>

<td>XX</td>

<td>民族</td>

<td>XX</td>

</tr>

<tr align="center">

<td>户口所在地</td>

<td>xx</td>

<td>身高</td>

<td>170cm</td>

</tr>

<tr align="center">

<td>学历</td>

<td>XX</td>

<td>专业</td>

<td>XX</td>

</tr>

<tr align="center">

<td rowspan ="9" align="middle">个人工作经历</td>

<td colspan="4" align="left">公司名称:</td>

</tr>

<tr>

<td colspan="4">担任职务:</td>

</tr>

<tr>

<td colspan="4">工作描述:</td>

</tr>

<tr>

<td colspan="4">离职原因:</td>

</tr>

<tr>

<td colspan="4">---------------------------------------------------</td>

</tr>

<tr align="center">

<td colspan="4" align="left">公司名称:</td>

</tr>

<tr>

<td colspan="4">担任职务:</td>

</tr>

<tr>

<td colspan="4">工作描述:</td>

</tr>

<tr>

<td colspan="4">离职原因:</td>

</tr>

<tr>

<td colspan="5">个人总结:</td>

</tr>

</table>

</body>

</html>


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/6124910.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-03-15
下一篇 2023-03-15

发表评论

登录后才能评论

评论列表(0条)