bootstrap19-内联表单
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>內聯表單</title>
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css"> ?
</head>
<body>
<div class="container">
<form action="" role="form" class="form-inline">
<div class="form-group">
<label for="name" class="sr-only">名稱</label>
<input type="text" class="form-control" id="name" placeholder="請輸入名稱">
</div>
<div class="form-group">
? ?? <label for="inputfile" class="sr-only">文件輸入</label>
? ?? <input type="file" id="inputfile">
? ?? <p class="help-block">這里是塊級幫助文本的實例。</p>
?? </div>
?? <div class="checkbox">
? ?? <label>
? ? ?? <input type="checkbox">請打勾
? ?? </label>
?? </div>
?? <button type="submit" class="btn btn-default">提交</button>
</form>
</div>
? ? <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
?? <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
本文轉自 素顏豬 51CTO博客,原文鏈接:http://blog.51cto.com/suyanzhu/1895700總結
以上是生活随笔為你收集整理的bootstrap19-内联表单的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 极路由+NETGEAR 传输无线网络
- 下一篇: 无法更改密码的解决办法--passwd: