Bootstrap留言板界面练习
作者:互联网
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>留言板注册练习</title> <script type="text/javascript" src="./js/jquery-3.5.1.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script> <link rel="stylesheet" type="text/css" href="./js/bootstrap.min.css"> </head> <body class="container"> <nav class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <a class="navbar-brand" href="#">留言板</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li class="active"><a href="#">我要留言<span class="sr-only">(current)</span></a></li> </ul> <form class="navbar-form navbar-right"> <div class="form-group"> <input type="text" class="form-control" placeholder="Search"> </div> <button type="submit" class="btn btn-default">搜留言</button> </form> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav> <div class="row"> <div class="col-md-4"></div> <div class="col-md-4"> <legend class="text-center">用户注册</legend> <form> <div class="form-group"> <label for="exampleInputEmail1">用户名</label> <input type="text" class="form-control" id="exampleInputEmail1" placeholder="Username"> </div> <div class="form-group"> <label for="exampleInputPassword1">密码</label> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> </div> <div class="form-group"> <label for="exampleInputPassword1">确认密码</label> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> </div> <button type="submit" class="btn btn-primary">注册</button> </form> </div> <div class="col-md-4"></div> </div> <nav class="navbar navbar-default navbar-fixed-bottom"> <div class="container"> 版权所有@张千禧 </div> </nav> </body> </html>
标签:练习,界面,用户注册,留言,Bootstrap,密码,注册,留言板 来源: https://www.cnblogs.com/zhangqianxi/p/13942461.html