<form class="form-horizontal"> <fieldset> <legend>用戶登陸</legend> <div class="form-group"> <label for="inputEmail" class="col-lg-2 control-label">用戶名</label> <div class="col-lg-10"> <input type="text" class="form-control" id="inputEmail" placeholder="Email"> </div> </div> <div class="form-group"> <label for="inputPassword" class="col-lg-2 control-label">密碼</label> <div class="col-lg-10"> <input type="password" class="form-control" id="inputPassword" placeholder="Password"> </div> </div> <div class="form-group"> <div class="col-lg-10 col-lg-offset-2"> <button type="reset" class="btn btn-primary">登陸</button> </div> </div> </fieldset> </form>