html做一个登录注册页面,下面是一个简单的登录注册页面示例代码,使用 html 和 css 实现页面样式和布局。
登录/注册
代码元素解释:
- ``:文档类型声明,告诉浏览器当前文档使用的是 html5 规范。
- ``:html 页面的根元素,包含整个页面的内容。
- ``:页面头部,包含元数据和其他引用信息。
- ``:用于设置页面的元数据,如字符集、关键词等。
- `
`:页面标题,显示在浏览器的标签栏上。</p><p>- `<style>`:用于设置页面的样式和布局。</p><p>- `<body>`:页面的主要内容部分。</p><p>- `<form>`:页面表单元素,用于收集用户信息。</p><p>- `<h1>`:标头元素,用于显示标题文本。</p><p>- `<label>`:表单标注元素,用于标注表单项。</p><p>- `<input>`:表单输入元素,提供给用户输入。</p><p>- `type="text"`、`type="password"`:输入元素的类型,text 用于输入用户名等文本,password 用于输入密码等敏感信息。</p><p>- `placeholder`:输入框中预先填充的文本。</p><p>- `<button>`:表单按钮元素,用于提交表单信息。</p><p>- `type="submit"`:按钮的类型,表示提交表单信息。</p><p><br/></p><p><strong>效果截图</strong></p><p><img src="https://sn.qunapu.com/zb_users/plugin/lazyload/usr/loading.gif" data-original="https://mippu.qunapu.com/upload/2023/05/202305151684149353183680.png" title="html做一个登录注册页面,用 html 和 css 实现 第1张" alt="html做一个登录注册页面,用 html 和 css 实现 第1张"></p><blockquote style='border:1px #d0d4c8 dashed;background-color:#f4f5f6'><p>专题推荐:</p><p><a href="https://sn.qunapu.com/kw/33.html" target="_balnk">女生最吃香的十大专业</a></p><p><a href="https://sn.qunapu.com/kw/32.html" target="_balnk">1-5元学校门口小吃</a></p><p><a href="https://sn.qunapu.com/kw/31.html" target="_balnk">创业小项目 个人创业在家</a></p><p><a href="https://sn.qunapu.com/kw/30.html" target="_balnk">开店项目</a></p><p><a href="https://sn.qunapu.com/kw/29.html" target="_balnk">在家办厂小型加工厂</a></p><p><a href="https://sn.qunapu.com/kw/28.html" target="_balnk">乡镇冷门暴利生意</a></p><p><a href="https://sn.qunapu.com/kw/27.html" target="_balnk">50个适合县城开的实体店</a></p><p><a href="https://sn.qunapu.com/kw/26.html" target="_balnk">适合小区做的44个生意</a></p></blockquote></br><hr/><div class="ycnr">部份内容隐藏请<a href="https://sn.qunapu.com/#xylogin"><font color="red">会员登录</font></a>查看</div></div></div>
<p id="tag-wrap" class="tag-wrap">
<i class="fa fa-tags"></i>标签:
<span class="padding"><a class="tags br" href="https://sn.qunapu.com/tags-653.html" title="html做一个登录注册页面">html做一个登录注册页面</a></span>
</p>
<div class="nextlog">
<a href="https://sn.qunapu.com/sn/842.html" class="prev">
<small>上一篇</small>
<i class="fa fa-angle-left fa-3x"></i>
<h2>html画立体地球,旋转的立体地球</h2>
</a>
<a href="https://sn.qunapu.com/sn/844.html" class="next">
<small>下一篇</small>
<h2>40岁女人想学手艺创业,可以考虑缝纫手艺创业项目</h2>
<i class="fa fa-angle-right fa-3x"></i>
</a>
</div>
<div class="link-box">
<p class="title">相关文章</p>
<ul class="loglist">
</ul>
</div>
</div>
</div>
</div>
<div id="sidebar">
<section id="randomnews_dz" class="widget widget_randomnews_dz sb br mb">
<h3><span>分类猜你喜欢</span></h3>
<ul class="widget-content randomnews_dz"><li><a title="mark元素的主要功能及在html5 中的使用mark元素例子" href="https://sn.qunapu.com/sn/795.html">mark元素的主要功能及在html5 中的使用mark元素例子</a></li><li><a title="html a标签target属性" href="https://sn.qunapu.com/sn/804.html">html a标签target属性</a></li><li><a title="mark元素使用红色代表及例子" href="https://sn.qunapu.com/sn/806.html">mark元素使用红色代表及例子</a></li><li><a title="mark点怎么设置及设置例子" href="https://sn.qunapu.com/sn/808.html">mark点怎么设置及设置例子</a></li><li><a title="css高亮效果,css 创建不同高亮效果具体方法及例子" href="https://sn.qunapu.com/sn/809.html">css高亮效果,css 创建不同高亮效果具体方法及例子</a></li></ul>
</section>
<section id="hotnews_dz" class="widget widget_hotnews_dz sb br mb">
<h3><span>分类热门</span></h3>
<ul class="widget-content hotnews_dz"><li><a title="css高亮效果,css 创建不同高亮效果具体方法及例子" href="https://sn.qunapu.com/sn/809.html">css高亮效果,css 创建不同高亮效果具体方法及例子</a></li><li><a title="一个简单的html放烟花特效的代码" href="https://sn.qunapu.com/sn/815.html">一个简单的html放烟花特效的代码</a></li><li><a title="星空特效的html代码示例" href="https://sn.qunapu.com/sn/818.html">星空特效的html代码示例</a></li><li><a title="html图片旋转怎么设置代码示例演示" href="https://sn.qunapu.com/sn/850.html">html图片旋转怎么设置代码示例演示</a></li><li><a title="json 在线解析演示" href="https://sn.qunapu.com/sn/872.html">json 在线解析演示</a></li><li><a title="视频嵌入代码,简单的 video 嵌入代码例子" href="https://sn.qunapu.com/sn/810.html">视频嵌入代码,简单的 video 嵌入代码例子</a></li><li><a title="html5菜鸟教程学习基本步骤" href="https://sn.qunapu.com/sn/827.html">html5菜鸟教程学习基本步骤</a></li><li><a title="html的地球特效代码示例代码" href="https://sn.qunapu.com/sn/837.html">html的地球特效代码示例代码</a></li><li><a title="html做一个登录注册页面,用 html 和 css 实现" href="https://sn.qunapu.com/sn/843.html">html做一个登录注册页面,用 html 和 css 实现</a></li><li><a title="html3d地球代码示例代码" href="https://sn.qunapu.com/sn/838.html">html3d地球代码示例代码</a></li></ul>
</section>
<section id="kelrank_hotviews" class="widget widget_kelrank_hotviews sb br mb">
<h3><span>热门文章</span></h3>
<div class="widget-content kelrank_hotviews">
<ul class="rank rank-simple">
<li class="rank-1">
<span class="rank-num"><i>1</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/94.html" target="_blank">暴利行业中没人愿意干的68个暴利行业</a></p>
</li>
<li class="rank-2">
<span class="rank-num"><i>2</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/86.html" target="_blank">不起眼生意背后的2021利润很吓人的冷门生意</a></p>
</li>
<li class="rank-3">
<span class="rank-num"><i>3</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/160.html" target="_blank">穷人创业适合穷人翻身的10个行业</a></p>
</li>
<li class="rank-4">
<span class="rank-num"><i>4</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/120.html" target="_blank">理论上探讨下2022年最可能暴涨的东西,仅供参考</a></p>
</li>
<li class="rank-5">
<span class="rank-num"><i>5</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/208.html" target="_blank">开店创业低成本适合女孩开的店</a></p>
</li>
<li class="rank-6">
<span class="rank-num"><i>6</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/162.html" target="_blank">穷人翻身创业适合穷人翻身的10个行业</a></p>
</li>
<li class="rank-7">
<span class="rank-num"><i>7</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/113.html" target="_blank">简单得只需一辆轿车就可做的生意</a></p>
</li>
<li class="rank-8">
<span class="rank-num"><i>8</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/90.html" target="_blank">在家躺着赚钱的43种躺着赚钱的方法</a></p>
</li>
<li class="rank-9">
<span class="rank-num"><i>9</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/533.html" target="_blank">小区十大冷门暴利生意,20种排行前十生意</a></p>
</li>
<li class="rank-10">
<span class="rank-num"><i>10</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/213.html" target="_blank">小吃摊创业自学摆摊小吃100种</a></p>
</li>
</ul></div>
</section>
<section id="zf_postarticle" class="widget widget_zf_postarticle sb br mb">
<div class="widget-content zf_postarticle"><div class="postarticle"><ul class="tabe"><li><h3 class="tit">随机文章</h3></li><li><h3 class="tit">热门文章</h3></li><li><h3 class="tit">最新文章</h3></li></ul><div class="tabecon"><ul><li><i class="num1">1</i><a href="https://sn.qunapu.com/sn/25.html" title="身无分文怎样一夜暴富快速发财的方法,想发横财的进来!">身无分文怎样一夜暴富快速发财的方法,想发横财的进来!</a></li><li><i class="num2">2</i><a href="https://sn.qunapu.com/sn/46.html" title="滩涂适合养殖什么及滩涂养殖什么最赚钱">滩涂适合养殖什么及滩涂养殖什么最赚钱</a></li><li><i class="num3">3</i><a href="https://sn.qunapu.com/sn/52.html" title="小吃,现在全国最火的小吃!">小吃,现在全国最火的小吃!</a></li><li><i class="num4">4</i><a href="https://sn.qunapu.com/sn/71.html" title="日常生活消耗量大且快的地摊10大快消品">日常生活消耗量大且快的地摊10大快消品</a></li><li><i class="num5">5</i><a href="https://sn.qunapu.com/sn/96.html" title="做生意要门面与否的9个不需要门面的生意">做生意要门面与否的9个不需要门面的生意</a></li><li><i class="num6">6</i><a href="https://sn.qunapu.com/sn/105.html" title="聊聊十大暴利养殖物种">聊聊十大暴利养殖物种</a></li><li><i class="num7">7</i><a href="https://sn.qunapu.com/sn/110.html" title="聊聊商业创业计划书怎么写">聊聊商业创业计划书怎么写</a></li><li><i class="num8">8</i><a href="https://sn.qunapu.com/sn/112.html" title="生活中最热门的50种地摊生意">生活中最热门的50种地摊生意</a></li></ul><ul><li><i class="num1">1</i><a href="https://sn.qunapu.com/sn/94.html" title="暴利行业中没人愿意干的68个暴利行业">暴利行业中没人愿意干的68个暴利行业</a></li><li><i class="num2">2</i><a href="https://sn.qunapu.com/sn/86.html" title="不起眼生意背后的2021利润很吓人的冷门生意">不起眼生意背后的2021利润很吓人的冷门生意</a></li><li><i class="num3">3</i><a href="https://sn.qunapu.com/sn/160.html" title="穷人创业适合穷人翻身的10个行业">穷人创业适合穷人翻身的10个行业</a></li><li><i class="num4">4</i><a href="https://sn.qunapu.com/sn/120.html" title="理论上探讨下2022年最可能暴涨的东西,仅供参考">理论上探讨下2022年最可能暴涨的东西,仅供参考</a></li><li><i class="num5">5</i><a href="https://sn.qunapu.com/sn/208.html" title="开店创业低成本适合女孩开的店">开店创业低成本适合女孩开的店</a></li><li><i class="num6">6</i><a href="https://sn.qunapu.com/sn/162.html" title="穷人翻身创业适合穷人翻身的10个行业">穷人翻身创业适合穷人翻身的10个行业</a></li><li><i class="num7">7</i><a href="https://sn.qunapu.com/sn/113.html" title="简单得只需一辆轿车就可做的生意">简单得只需一辆轿车就可做的生意</a></li><li><i class="num8">8</i><a href="https://sn.qunapu.com/sn/90.html" title="在家躺着赚钱的43种躺着赚钱的方法">在家躺着赚钱的43种躺着赚钱的方法</a></li></ul><ul><li><i class="num1">1</i><a href="https://sn.qunapu.com/sn/1087.html" title="一年四季不愁销路的生意:案例分析与经营策略">一年四季不愁销路的生意:案例分析与经营策略</a></li><li><i class="num2">2</i><a href="https://sn.qunapu.com/sn/1086.html" title="不愁销路的10个生意——以数学辅导为例">不愁销路的10个生意——以数学辅导为例</a></li><li><i class="num3">3</i><a href="https://sn.qunapu.com/sn/1085.html" title="很多人梦寐以求的适合懒人开的店">很多人梦寐以求的适合懒人开的店</a></li><li><i class="num4">4</i><a href="https://sn.qunapu.com/sn/1084.html" title="three.js开发指南:从入门到精">three.js开发指南:从入门到精</a></li><li><i class="num5">5</i><a href="https://sn.qunapu.com/sn/1083.html" title="不愁销路的10个生意特点特色分析">不愁销路的10个生意特点特色分析</a></li><li><i class="num6">6</i><a href="https://sn.qunapu.com/sn/1082.html" title="不愁销路的10个生意特点及不愁销路原因">不愁销路的10个生意特点及不愁销路原因</a></li><li><i class="num7">7</i><a href="https://sn.qunapu.com/sn/1081.html" title="养鸡1000只需投资多少?养鸡创业者的账本与投资策略">养鸡1000只需投资多少?养鸡创业者的账本与投资策略</a></li><li><i class="num8">8</i><a href="https://sn.qunapu.com/sn/1080.html" title="一年四季都能做:地摊创业适合一年四季的地摊生意">一年四季都能做:地摊创业适合一年四季的地摊生意</a></li></ul></div></div></div>
</section>
<section id="kelrank_hotcomms" class="widget widget_kelrank_hotcomms sb br mb">
<h3><span>热评文章</span></h3>
<div class="widget-content kelrank_hotcomms">
<ul class="rank rank-simple">
<li class="rank-1">
<span class="rank-num"><i>1</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/256.html" target="_blank">小本开店创业适合乡镇开的实体店</a></p>
</li>
<li class="rank-2">
<span class="rank-num"><i>2</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/512.html" target="_blank">13个农村暴利小生意(最适合农村人做的10种小生意)</a></p>
</li>
<li class="rank-3">
<span class="rank-num"><i>3</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/768.html" target="_blank">适合50岁女人的创业项目,掌握技能创新创业</a></p>
</li>
<li class="rank-4">
<span class="rank-num"><i>4</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/1024.html" target="_blank">适合45至55岁创业项目:探索四种模式与成功案例</a></p>
</li>
<li class="rank-5">
<span class="rank-num"><i>5</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/257.html" target="_blank">适合乡镇开的实体店有哪些?</a></p>
</li>
<li class="rank-6">
<span class="rank-num"><i>6</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/513.html" target="_blank">只需一辆轿车就可做的生意有哪些</a></p>
</li>
<li class="rank-7">
<span class="rank-num"><i>7</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/769.html" target="_blank">适合50岁女人创业项目:12种赚钱门路</a></p>
</li>
<li class="rank-8">
<span class="rank-num"><i>8</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/1025.html" target="_blank">适合45至55岁创业项目:发现新的商业机会</a></p>
</li>
<li class="rank-9">
<span class="rank-num"><i>9</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/258.html" target="_blank">养殖户养20头羊一年赚多少钱?</a></p>
</li>
<li class="rank-10">
<span class="rank-num"><i>10</i></span>
<p class="rank-title"><a href="https://sn.qunapu.com/sn/514.html" target="_blank">12种赚小孩的钱的特色生意</a></p>
</li>
</ul></div>
</section> </div>
</div>
</div>
<div id="footerbar">
<div class="wrap">
<span><a href="https://sn.qunapu.com/">糯草学堂</a>pg电子游戏麻将胡了 copyright糯草学堂.some rights reserved.粤公网安备 44170202000251号 <a href="https://beian.miit.gov.cn/"target="_blank">粤icp备15035385号-2 </a><a href="/1088.html"target="_blank">免责声明</a></span>
</div>
</div>
<div id="backtop"><span class="fa fa-chevron-circle-up"></span></div>
<script src="https://sn.qunapu.com/zb_users/theme/suiranx_news/script/common.js" type="text/javascript"></script>
<script src="https://sn.qunapu.com/zb_users/theme/suiranx_news/script/scrolltxt.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#croll").textslider({line: 1, speed: 1000, timer: 3000});
})
</script>
<script>
var swiper = new swiper('.swiper-container', {
pagination: '.swiper-pagination',
nextbutton: '.swiper-button-next',
prevbutton: '.swiper-button-prev',
centeredslides: true,
autoplay: 3500,
slidesperview: 1,
paginationclickable: true,
autoplaydisableoninteraction: false,
spacebetween: 0,
loop: true
});
</script>
<script>
(function(){
var bp = document.createelement('script');
var curprotocol = window.location.protocol.split(':')[0];
if (curprotocol === 'https'){
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else{
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getelementsbytagname("script")[0];
s.parentnode.insertbefore(bp, s);
})();
</script>
<script>
$('.tabe li:first-child').addclass('active');
$('.tabecon ul:first-child').show();
let key = 0;
let base_num = 1000;
let speed = number('5') * 1000;
if(isnan(speed)){
speed = 0;
}
let playtimer = null;
if(speed >= base_num){
playtimer = setinterval(auto_tabs,speed);
}
function tabs(tabtit,on,tabcon){
$(tabtit).children().mouseenter(function() {
$(this).addclass(on).siblings().removeclass(on);
let index = key = $(tabtit).children().index(this);
$(tabcon).children().eq(index).fadein(200).siblings().fadeout(0);
if(speed >= base_num && playtimer !== null){
clearinterval(playtimer);
}
});
$(tabtit).children().mouseleave(function() {
if(speed >= base_num && playtimer !== null){
playtimer = setinterval(auto_tabs,speed)
}
});
$(tabcon).mouseenter(function() {
if(speed >= base_num && playtimer !== null){
clearinterval(playtimer);
}
});
$(tabcon).mouseleave(function() {
if(speed >= base_num && playtimer !== null){
playtimer = setinterval(auto_tabs,speed)
}
});
};
function auto_tabs(tabtit='.tabe',on='active',tabcon='.tabecon'){
if(key >= 3){
key = 0;
}
$(tabtit).children().eq(key).addclass(on).siblings().removeclass(on);
$(tabcon).children().eq(key).fadein(200).siblings().fadeout(0);
key ;
};
tabs('.tabe','active','.tabecon');
</script>
<script>
(function(){
var el = document.createelement("script");
el.src = "https://lf1-cdn-tos.bytegoofy.com/goofy/ttzz/push.js?62f2655eddc2caf977f879370f942343f93744b2e3029f816c57b79de106d2253d72cd14f8a76432df3935ab77ec54f830517b3cb210f7fd334f50ccb772134a";
el.id = "ttzz";
var s = document.getelementsbytagname("script")[0];
s.parentnode.insertbefore(el, s);
})(window)
</script>
<script type="text/javascript" src="https://sn.qunapu.com/zb_users/plugin/jenson_highlight/highlight/highlight.min.js"></script><script>document.addeventlistener('domcontentloaded', (event) => {document.queryselectorall('pre').foreach((el) => {hljs.highlightelement(el);});});</script><script src="https://sn.qunapu.com/zb_users/plugin/lazyload/js/lazyload.min.js"></script>
<script>
$(function() {
$("img.lz-loading, img[src$='loading.gif']").lazyload({
// placeholder:"https://sn.qunapu.com/zb_users/plugin/lazyload/img/grey.gif",
effect:"fadein",
failurelimit : 30
});
});
</script>
<script type='text/javascript'>
document.body.addeventlistener('copy', function (e) {
if (window.getselection().tostring() && window.getselection().tostring().length > 2) {
setclipboardtext(e);
alert('很好!非常好!');
}
});
function setclipboardtext(event) {
var clipboarddata = event.clipboarddata || window.clipboarddata;
if (clipboarddata) {
event.preventdefault();
var htmldata = ''
window.getselection().tostring()
'本文来自糯草学堂' window.location.href
var textdata = ''
window.getselection().tostring()
'本文来自糯草学堂' window.location.href
clipboarddata.setdata('text/html', htmldata);
clipboarddata.setdata('text/plain',textdata);
}
}
</script><script>function createwatermark() {const svgstr =`<svg xmlns="http://www.w3.org/2000/svg" width="380" height="160"><text y="80" x="50" stroke="#e6e0e0" stroke-opacity="0.1" fill="#f1dada" fill-opacity="0.3" transform="rotate(-10)" font-size="12">糯草学堂- sn.qunapu.com</text></svg>`;return `data:image/svg xml;base64,${window.btoa(unescape(encodeuricomponent(svgstr)))}`;}const watermakr = document.createelement("div");watermakr.classname = "jz52_pagewatermark";watermakr.style.backgroundimage = `})`;document.body.appendchild(watermakr);const config = { attributes: true, childlist: true, subtree: true };const callback = function (mutationslist, observer) {for (let mutation of mutationslist) {mutation.removednodes.foreach(function (item) {if (item === watermakr) {document.body.appendchild(watermakr);}});}};const targetnode = document.body;const observer = new mutationobserver(callback);observer.observe(targetnode, config);</script><script type="text/javascript">var zbpath="https://sn.qunapu.com/", codeall = 1, pg电子游戏麻将胡了 copyrights = 0, copytips = "本段代码来自 糯草学堂", codetext = 0, textheight = 200, sbutton = "1|1|1|1", codefold = 0; document.writeln(unescape("<script src=\"" zbpath "zb_users/plugin/codemo_vip/js/main.js?v=3.3.0\" type=\"text/javascript\"></script>"));</script>
</body>
</html>