本篇主要介紹HTML5製作查詢頁面的一個小案例,有興趣的朋友參考下,希望對大家有幫助。
程式碼如下:
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>资格查询</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css"> <script type="text/javascript" src="bootstrap/js/jquery.min.js"></script> <script type="text/javascript" src="bootstrap/js/bootstrap.js"></script> </head> <body> <p class="panel panel-warning"> <p class="panel-heading " style="background: #d9534f; color: #ffffff"> <span class="glyphicon glyphicon-th-large" style="margin-right: 10px" />资格查询 </p> </p> <form> <p class="container"> <p class="row"> <p class="col-md-12"> <p class="input-group "> <!--<span class="input-group-addon">账 号</span>--> <input type="text" name="txtUserId" class="form-control" maxlength="20" placeholder="输入帐号" /> <span class="input-group-addon"><span class="glyphicon glyphicon-search" style="margin-right: 10px"/> <a href="query.html?action=query">查询数据</a></span> </p> </p> </p> </p> </form> <ul class="nav nav-pills nav-stacked nav-pider"> <br> <li class="bg-warning"><a href="#"><span class="glyphicon glyphicon-user" style="margin-right: 10px"> </span>账号</a></li> <li class="bg-warning"><a href="#"><span class="glyphicon glyphicon-list-alt" style="margin-right: 10px"> </span>昵称</a></li> <li class="bg-warning"><a href="#"><span class="glyphicon glyphicon-comment" style="margin-right: 10px"> </span>微信</a></li> <li class="bg-warning"><a href="#"><span class="glyphicon glyphicon-phone" style="margin-right: 10px"> </span>手机</a></li> <li class="bg-warning"><a href="#"><span class="glyphicon glyphicon-star" style="margin-right: 10px"> </span>当前等級</a></li> <li class="bg-warning"><a href="#"><span class="glyphicon glyphicon-tag" style="margin-right: 10px"> </span>资格</a></li> <li class="bg-warning"><a href="#"><span class="glyphicon glyphicon-credit-card" style="margin-right: 10px"> </span>信用度</a></li> </ul> </p> <p class="panel panel-warning"> <p class="panel-body"> <p class="text-center" style="background: #FFF; margin-top: 10px"> <a href="index.php"> <button type="button" class="btn btn-success" style="width: 80%"> <span class="glyphicon glyphicon-home" style="margin-right: 10px" />返回首頁</button> </a> </p> </p> </p> </body> </html>
相關推薦:
##如何利用JqueryAjax php製作簡單註冊登入頁面
以上是HTML5製作查詢頁面實例的詳細內容。更多資訊請關注PHP中文網其他相關文章!