本篇内容介绍了“javascript怎么实现注册登录页面”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!
本篇内容介绍了“javascript怎么实现注册登录页面”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Practice</title>
</head>
<style>
#reGISter,#login{
width: 300px;
height: 400px;
border: 1px solid grey;
background-color: dimgrey;
float: left;
}
.long{
width: 280px;
height: 30px;
border-radius: 5px;
border: none;
margin: 10px;
}
.short{
width: 180px;
height: 30px;
border-radius: 5px;
border: none;
margin: 10px;
}
.bton{
width: 90px;
height: 30px;
border-radius: 5px;
border: none;
color: darkmagenta;
background-color: white;
}
.sub{
width: 280px;
height: 30px;
margin: 10px;
background-color: deepskyblue;
border-radius: 5px;
border: none;
color: white;
}
.left_top_font{
border-bottom: 2px fuchsia solid;
padding-bottom: 7px;
font-size: 18px;
}
.right_top_font{
float: right;
font-size: 18px;
color: deepskyblue;
}
a{
text-decoration: none;
}
</style>
<body>
<!--注册-->
<fORM action="#" method="post">
<div id="register">
<span class="left_top_font">请注册</span>
<a href="#" class="right_top_font">立即登录></a>
<hr>
<input type="text" placeholder="请输入手机号" class="long">
<input type="text" placeholder="请输入短信验证码" class="short">
<input type="button" value="发送验证码" class="bton">
<input type="text" placeholder="请输入用户名" class="long">
<input type="passWord" placeholder="请输入密码" class="long">
<input type="password" placeholder="请再次输入密码" class="long">
<input type="text" placeholder="请输入图形验证码" class="short">
<input type="button" value="图形验证码" class="bton">
<input type="submit" value="立即注册" class="sub">
</div>
</form>
<!--登录-->
<form action="#" method="post">
<div id="login" style="height: 220px;">
<span class="left_top_font">请登录</span>
<a href="#" class="right_top_font">立即注册></a>
<hr>
<input type="text" placeholder="请输入手机号" class="long">
<input type="password" placeholder="请输入密码" class="long">
<label style="color: aqua;"><input type="checkbox" >七天内自动登录</label>
<a href="#" style="color: ivory;float: right">忘记密码?</a>
<input type="submit" value="登录" class="sub">
</div>
</form>
</body>
</html>
“JavaScript怎么实现注册登录页面”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程网网站,小编将为大家输出更多高质量的实用文章!
--结束END--
本文标题: JavaScript怎么实现注册登录页面
本文链接: https://www.lsjlt.com/news/95596.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0