开发者代码

促销活动、技术干货、问题解答、技术讨论,学习,成长,分享,共建

用户登录页面html代码

2023-12-18 08:14:47 点击:200
用户登录页面html代码
User Login

User Login

In the above HTML code, we have created a basic user login page. Let me explain the code in detail.


: This is the declaration of the document type, indicating that the file is an HTML document.


: This is the root element of the HTML page.


: This element contains meta-information about the HTML page, such as title, stylesheets, and scripts.


: This element specifies the title of the HTML page, which will be displayed in the browser's title bar.<p><br/></p><style>: This element is used to define the CSS styles for the HTML page.<p><br/></p><body>: This element represents the content of the HTML page, which will be displayed in the browser's window.<p><br/></p>.container>: This is a div element with the class "container" that contains the login form. It sets the width, margin, padding, border-radius, background-color, and box-shadow properties to create a visually appealing form.<p><br/></p>h2>: This is a heading element that displays the title "User Login" in the center of the form.<p><br/></p><form>: This element is used to create an HTML form that will be used to submit the login credentials. The "action" attribute specifies the URL of the server-side script that will process the form data.<p><br/></p>.form-group>: This is a div element with the class "form-group" that wraps each form element (label and input). It sets the margin-bottom property to create some space between the form elements.<p><br/></p><label>: This element is used to create a label for the form fields (username and password).<p><br/></p><input>: This element is used to create an input field for the form. It sets the type, id, and name attributes to define the input type, unique identifier, and field name.<p><br/></p>.input[type="submit"]>: This input field has the type attribute set to "submit" to create a login button.<p><br/></p>.error>: This is a paragraph element with the class "error" that displays any error messages that may occur during the login process.<p><br/></p>.link>: This is a div element with the class "link" that contains a link to the signup page.<p><br/></p><a>: This element is used to create a hyperlink. The "href" attribute specifies the URL of the target page.<p><br/></p>I hope this explanation helps you understand the HTML code for the user login page. </div> <div class="statement"> 声明:免责声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,也不承认相关法律责任。如果您发现本社区中有涉嫌抄袭的内容,请发送邮件至:dm@cn86.cn进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。本站原创内容未经允许不得转载。 </div> <div class="hot-news mt20" style="margin-top: 20px;"> <h3> 标签: </h3> <dd> <a href="http://www.cn86.cn/tag/%E5%B9%BF%E5%B7%9E%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE%E4%BB%B7%E6%A0%BC">广州网站建设价格</a> <a href="http://www.cn86.cn/tag/%E6%AD%A3%E8%A7%84%E8%AE%BE%E8%AE%A1%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE">正规设计网站建设</a> <a href="http://www.cn86.cn/tag/%E6%88%90%E9%83%BD%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE%E4%BB%B7%E6%A0%BC">成都网站建设价格</a> </dd> </div> <div class="hot-news mt20" style="margin-top: 20px;"> <h3>相关新闻</h3> <ul class="hot-news-list"> </ul> </div> </div> </div> </div> </div> <!-- 页脚 --> <div class="foot"> <div class="con"> <div class="w1320"> <ul class="foot-num"> <li> <p class="nums">7x24</p> <p class="txts">在线售后支持</p> </li> <li> <div class="num-all"> <p class="nums" id="number2" data-to="10" data-speed="1000">10</p><span>+</span> </div> <p class="txts">10年互联网服务经验</p> </li> <li> <div class="num-all"> <p class="nums" id="number1" data-to="300" data-speed="1000">300</p><span>+</span> </div> <p class="txts">全国300余家服务机构</p> </li> <li class="hidden"> <div class="num-all"> <p class="nums" id="number3" data-to="5000" data-speed="1000">5000</p><span>+</span> </div> <p class="txts">5000多人顾问式服务</p> </li> <li> <div class="num-all"> <p class="nums" id="number4" data-to="70000" data-speed="1000">70000</p><span>+</span> </div> <p class="txts">与70000余家企业客户携手</p> </li> </ul> </div> </div> <div class="con1"> <div class="w15301"> <div class="conx"> <div class="foot1"> <div class="logox"> <img src="//static.cn86.cn/img/2022/08/dc3af666ecdmhrdy.png" alt="logo"> </div> <dd> 祥云平台主营业务:品牌型网站建设,高端型网站建设, 外贸型网站建设,营销型网站建设,网站优化, 开发类网站,企业网络营销,搜索引擎推广,微信小程序, 企业邮箱,短视频运营等。 </dd> <ul class="list1"> <li> <a href=""> <div class="img"> <img src="//static.cn86.cn/img/2022/08/f98d8f04c1mvippp.png" alt=""> </div> </a> </li> <li> <a href=""> <div class="img"> <img src="//static.cn86.cn/img/2022/08/216791a8cf7wteym.png" alt=""> </div> </a> </li> <li> <a href=""> <div class="img"> <img src="//static.cn86.cn/img/2022/08/dc81779c318elbcq.png" alt=""> </div> </a> </li> <li> <a href=""> <div class="img"> <img src="//static.cn86.cn/img/2022/08/3b204f721flwvh9x.png" alt=""> </div> </a> </li> </ul> </div> <ul class="foot2"> <li> <h2> 公司产品 </h2> <div class="sec"> <dd><a href="http://www.cn86.cn/product/website">祥云建站</a></dd> <dd><a href="http://www.cn86.cn/product/waimao">外贸易</a></dd> <dd><a href="http://www.cn86.cn/product/wxcode">小程序</a></dd> <dd><a href="http://www.cn86.cn/activity/191118.html">软文推广</a></dd> <dd><a href="http://demo.cn86.cn">演示站点</a></dd> <dd><a href="http://www.cn86.cn/product/operate">代运营</a></dd> </div> </li> <li> <h2> 新闻中心 </h2> <div class="sec"> <dd><a href="http://www.cn86.cn/news/1">新闻动态</a></dd> <dd><a href="http://www.cn86.cn/news/10">帮助中心</a></dd> <dd><a href="http://www.cn86.cn/news/9">网站建设知识库</a></dd> </div> </li> <li> <h2> 关于祥云 </h2> <div class="sec"> <dd><a href="http://www.cn86.cn/about">关于祥云</a></dd> <dd><a href="http://www.cn86.cn/job">人才招聘</a></dd> <dd><a href="http://www.cn86.cn/cooperation">合作伙伴</a></dd> <dd><a href="http://www.cn86.cn/contact">联系我们</a></dd> <dd><a href="http://www.cn86.cn/pay">支付方式</a></dd> <dd><a href="http://www.cn86.cn/links">常用链接</a></dd> </div> </li> <li> <h2> 外贸易 </h2> <div class="sec"> <dd><a href="/privacyPolicy.html">隐私政策</a></dd> <dd><a href="/termsOfService.html">服务条款</a></dd> <dd><a href="/videoPrivacyPolicy.html">视频隐私政策</a></dd> </div> </li> </ul> <div class="foot3"> <div class="lx"> <h2> 服务热线 </h2> <h3> 400-007-8608 </h3> <dd> <div> <span style="display: inline-block;vertical-align: top">公司:</span> <p style="display: inline-block">苏州祥云平台信息技术有限公司<br>苏州华企立方信息技术有限公司</p> </div> <p> 地址:江苏省昆山市昆太路530号祥和国际大厦15-16层 </p> </dd> </div> <!--可信网站LOGO安装开始--> <div class="op"> <script id="kXScript" type="text/javascript" src="https://kxlogo.knet.cn/seallogo.dll?sn=e22052532050085002abiu9641&h=50"></script> </div> <!--可信网站LOGO安装结束--> <div class="lx1"> <a href="http://www.cn86.cn/tag">网站标签</a> <a href="http://www.cn86.cn/sitemap.xml">网站地图</a> <a href="http://www.cn86.cn/region">企业分站</a> <a href="http://www.cn86.cn/news/1277.html">免责声明</a><br> <a href="http://www.cn86.cn/svideoo">短视频运营</a> <a href="http://www.cn86.cn/hwebsite">高端网站建设</a> </div> </div> </div> </div> </div> <div class="link1"> <div class="w15301"> <div class="cc clearfix"> <h3>友情链接:</h3> <ul class="clearfix"> <li><a href="https://www.cn86.cn/product/wangzhan" target="_blank">网站建设</a></li> <li><a href="http://www.ocbtsz.com" target="_blank">昂科</a></li> <li><a href="http://beian.miit.gov.cn" target="_blank">苏ICP备12030009号</a></li> <li><a href="http://www.hstone.cn/" target="_blank">和四通</a></li> </ul> </div> </div> </div> </div> <!-- 右侧工具条 --> <div id="tool-bar"> <ul> <li><a href="http://wpa.qq.com/msgrd?v=3&uin=2395607759&site=qq&menu=yes" target="_blank"><i class="iconfont icon-zixun-copy"></i><span>咨询</span></a></li> <li><a href="http://wpa.qq.com/msgrd?v=3&uin=2395607759&site=qq&menu=yes" target="_blank"><i class="iconfont icon-kefu3"></i><span>客服</span></a></li> <li class="wechat"> <a href="http://www.cn86.cn/contact" target="_blank"><i class="iconfont icon-iconfontweixin"></i><span>微信</span></a> <div class="pop-box"> <img src="//static.cn86.cn/img/2020/06/3275ce8a71szblkd.jpg" alt=""> <p>扫一扫,添加微信</p> </div> </li> <li><a href="http://www.cn86.cn/contact" target="_blank"><i class="iconfont icon-dianhua8"></i><span>电话</span></a> </li> <li class="message on"><a href="http://www.cn86.cn/message" target="_blank"><i class="iconfont icon-liuyan1"></i><span>留言</span></a></li> <li class="back-top"><a href="javascript:;"><i class="iconfont icon-tubiaozhizuo-1"></i><span>TOP</span></a> </li> </ul> </div> <div id="gotop"> <a class="backTop2"> <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOC43MDEiIGhlaWdodD0iMjQuNDU0IiB2aWV3Qm94PSIwIDAgMTguNzAxIDI0LjQ1NCI+CiAgPHBhdGggaWQ9Iui3r+W+hF8xNzMxNiIgZGF0YS1uYW1lPSLot6/lvoQgMTczMTYiIGQ9Ik0yMDEuNyw3Ni4ySDE4NC44MDZhLjkuOSwwLDEsMSwwLTEuOEgyMDEuN2EuOS45LDAsMCwxLDAsMS44Wm0uNywxMC45NjItOC41MDYtOS45MDZhLjg0My44NDMsMCwwLDAtMS4yNzcsMGwtOC41MDksOS45MDZhLjg0MS44NDEsMCwwLDAsLjY0LDEuMzg5aDQuMDE2djguNTEyYTEuOCwxLjgsMCwwLDAsMS44LDEuOGg1LjM4OGExLjgsMS44LDAsMCwwLDEuOC0xLjhWODguNTQ5aDQuMDE5QS44NDMuODQzLDAsMCwwLDIwMi40LDg3LjE1OFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xODMuOTAzIC03NC40KSIgZmlsbD0iIzkyOWRiMSIvPgo8L3N2Zz4K" alt="返回顶部"> </a> </div> <style> #gotop { position: fixed; right: 12px; bottom: 12px; z-index: 999; } .backTop2 { background-color: #fff; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px 0 rgb(0 0 0 / 16%); cursor: pointer; border-radius: 4px; } .backTop2:hover { background-color: #d3d3d3; } </style> <script type="text/javascript"> window.onload = function () { $(window).scroll(function () { if ($(window).scrollTop() > 300) { //计算 //当滚动条的位置处于距顶部200像素以下时,跳转链接出现,否则消失 $("#gotop").fadeIn(400); } else { $("#gotop").fadeOut(400); } }); $("#gotop").click(function () { //当点击跳转链接后,回到页面顶部位置 $('body,html').animate({ scrollTop: 0 }, 400); return false; }); } </script> </div> <script src="//static.cn86.cn/data/assets/js/app.js?1714957291"></script> <script> var HOME_URL = 'http://www.cn86.cn/ / '; </script> <!-- Modal --> <div class="modal fade" id="dialog-activity" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="true"><span aria-hidden="true">×</span></button> <h4 class="modal-title">提示</h4> </div> <div class="modal-body clearfix"> <div class='col-sm-1 col-xs-2 text-center'><i class='iconfont icon-error'></i></div> <div class='col-sm-11 col-xs-10 breakall'><p class="common"></p></div> </div> <div class="modal-footer"> <button type="button" class="btn btn-primary btn-modal-common" data-dismiss="modal">OK</button> </div> </div> </div> </div> <!-- Modal End --> </body> </html>