<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Form layout</title> <link href="../bootstrap/css/bootstrap.css" rel="stylesheet"> <!--[if lt IE 9]> <script src="../bootstrap/js/html5.js"></script> <![endif]--> </head> <body> <div class="container"> <h1 class="page-header">Form layout</h1> <form class="form-horizontal"> <fieldset> <legend>User login</legend> <div class="control-group"> <label class="control-label" for="username">用户名</label> <div class="controls"> <input id="username" type="text"> <p class="help-block">Please enter the username you use to log in</p> </div> </div> <div class="control-group"> <label class="control-label" for="password">密码</label> <div class="controls"> <input id="password" type="password" > <p class="help-block">Please enter the set password</p> </div> </div> </fieldset> <div class="form-actions"> <button type="submit" class="btn btn-primary">登录</button> </div> </form> <script src="../bootstrap/js/jquery-1.7.2.min.js"></script> <script src="../bootstrap/js/bootstrap.js"></script> </body> </html>
Bootstrap form typography
form-layout-finish.html
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326422488&siteId=291194637
Recommended
Ranking