<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link href="https://www.jb51.net/css/bootstrap.min.css" /> <script type="text/javascript" src="https://www.jb51.net/js/jquery.min.js" ></script> <script type="text/javascript" src="https://www.jb51.net/js/bootstrap.min.js" ></script> </head> <body> <nav role="navigation"> <div> <div> <button data-toggle="collapse" data-target=".navbar-collapse"> <span></span> <span></span> <span></span> </button> <a href="#"> <img src="https://www.jb51.net/img/mylogo.png"/> </a> </div> <div> <ul> <li><a href="#">首页</a></li> <li><a href="#">新闻</a></li> <li><a href="#">产品</a></li> <li> <a href="#" data-toggle="dropdown">服务<span></span></a> <ul> <li><a href="#">客服在线</a></li> <li></li> <li><a href="#">常见问答</a></li> <li></li> <li><a href="#">地址电话</a></li> </ul> </li> <li><a href="#">商城</a></li> </ul> <div> <a href="#">登陆</a> <a href="#">注册</a> <input type="text" placeholder="请输入关键字"/> <button>搜索</button> </div> </div> </div> </nav> <div></div> <div> <h1><span></span>用户登录</h1> <form> <div> <div> <input type="text" placeholder="用户名/email"/> </div> </div> <div> <div> <input type="password" placeholder="密码"/> </div> </div> <div> <div> <button>登陆</button> </div> </div> </form> </div> <div></div> </body> </html>
如果大家还想深入学习,可以点击这里进行学习,再为大家附3个精彩的专题: