欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

Bootstrap實現(xiàn)表格樣式、表單布局的實例代碼

1. 表格的一些樣式

創(chuàng)新互聯(lián)是一家網(wǎng)站設(shè)計、網(wǎng)站建設(shè),提供網(wǎng)頁設(shè)計,網(wǎng)站設(shè)計,網(wǎng)站制作,建網(wǎng)站,定制網(wǎng)站開發(fā),網(wǎng)站開發(fā)公司,于2013年開始是互聯(lián)行業(yè)建設(shè)者,服務(wù)者。以提升客戶品牌價值為核心業(yè)務(wù),全程參與項目的網(wǎng)站策劃設(shè)計制作,前端開發(fā),后臺程序制作以及后期項目運營并提出專業(yè)建議和思路。

Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼

舉例:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>My Test bootstrap</title>
  <link rel="stylesheet" href="./css/bootstrap.min.css"> 
  <script type="text/javascript" src="./js/bootstrap.min.js"></script>
</head>
<body>
 <table class="table table-striped">
 <caption>這是一個測試表格</caption>
 <thead>
  <tr>
   <th>姓名</th>
   <th>年齡</th>
   <th>地區(qū)</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>小胡子</td>
   <td>26</td>
   <td>陜西</td>
  </tr>
  <tr>
   <td>大胡子</td>
   <td>26</td>
   <td>北京</td>
  </tr>
  </tbody>
</table>
</body>
</html>

頁面效果:

Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼

2. 表格行或單元格的樣式

Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼

舉例:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>My Test bootstrap</title>
  <link rel="stylesheet" href="./css/bootstrap.min.css"> 
  <script type="text/javascript" src="./js/bootstrap.min.js"></script>
</head>
<body>
 <table class="table table-striped">
 <caption>這是一個測試表格</caption>
 <thead>
  <tr>
   <th>姓名</th>
   <th>年齡</th>
   <th>地區(qū)</th>
  </tr>
 </thead>
 <tbody>
  <tr class="info">
   <td>小胡子</td>
   <td>26</td>
   <td>陜西</td>
  </tr>
  <tr class="warning">
   <td>大胡子</td>
   <td>26</td>
   <td>北京</td>
  </tr>
  </tbody>
</table>
</body>
</html>

頁面效果:

Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼

3. 表單布局

(1)垂直表單:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>My Test bootstrap</title>
  <link rel="stylesheet" href="./css/bootstrap.min.css"> 
  <script type="text/javascript" src="./js/bootstrap.min.js"></script>
</head>
<body>
<form role="form">
 <div class="form-group">
  <label for="name">姓名</label>
  <input type="text" class="form-control" id="name" placeholder="請輸入姓名">
 </div>
 <div class="form-group">
  <label for="inputfile">選擇文件</label>
  <input type="file" id="inputfile">
 </div>
 <button type="submit" class="btn btn-default">提交</button>
</form>
</body>
</html>

效果:

Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼

(2)內(nèi)聯(lián)表單:它的所有元素是內(nèi)聯(lián)的,向左對齊的,標(biāo)簽是并排的

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>My Test bootstrap</title>
  <link rel="stylesheet" href="./css/bootstrap.min.css"> 
  <script type="text/javascript" src="./js/bootstrap.min.js"></script>
</head>
<body>
<form role="form" class="form-inline">
 <div class="form-group">
  <label for="name">姓名</label>
  <input type="text" class="form-control" id="name" placeholder="請輸入姓名">
 </div>
 <div class="form-group">
  <label for="inputfile">選擇文件</label>
  <input type="file" id="inputfile">
 </div>
 <button type="submit" class="btn btn-default">提交</button>
</form>
</body>
</html>

效果:

Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼

(3)水平表單:水平表單與其他表單不僅標(biāo)記的數(shù)量上不同,而且表單的呈現(xiàn)形式也不同

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>My Test bootstrap</title>
  <link rel="stylesheet" href="./css/bootstrap.min.css"> 
  <script type="text/javascript" src="./js/bootstrap.min.js"></script>
</head>
<body>
<form role="form" class="form-horizontal">
 <div class="form-group">
    <label for="name" class="col-sm-2 control-label">姓名</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="name" placeholder="請輸入姓名">
    </div>
 </div>
 <div class="form-group">
    <label for="inputfile" class="col-sm-2 control-label">選擇文件</label>
    <div class="col-sm-10">
      <input type="file" id="inputfile">
    <div>
 </div>
 <div class="form-group">
   <div class="col-sm-12">
    <button type="submit" class="btn btn-default">提交</button>
   </div>
 </div>
</form>
</body>
</html>

效果:

Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼

總結(jié)

以上所述是小編給大家介紹的Bootstrap 實現(xiàn)表格樣式、表單布局的實例代碼,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對創(chuàng)新互聯(lián)網(wǎng)站的支持!

網(wǎng)頁名稱:Bootstrap實現(xiàn)表格樣式、表單布局的實例代碼
地址分享:http://aaarwkj.com/article42/psohec.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供ChatGPT商城網(wǎng)站、微信公眾號、云服務(wù)器、響應(yīng)式網(wǎng)站品牌網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)頁設(shè)計公司
一区二区三区高清人妻日本| 久久久久久精品国产av| 国产在线成年人免费观看| 蜜臀国产午夜在线视频| 91成人大片在线观看| 免费人成黄页网站在线播放国产| 欧美精品久久在线观看| 成人免费在线视频不卡| 蜜臀av中文字幕在线| 四虎最新地址在线观看| 丝袜啪啪啪麻豆白虎内射| 97人妻精品一区二区三区六 | 人妻有码av中文字幕久久| 国产av剧情日韩精品| 亚洲国产日朝欧美综合久久| 日韩欧美国产综合第一页| 女同毛片一区二区三区| 亚洲国产香蕉视频在线播放| 亚洲美女国产精选999| 日韩欧美一区精品在线观看| 五月婷婷六月丁香综合激情| 亚洲欧美中文日韩二区一区| 日韩精品视频一区二区在线观看 | 日本欧美亚洲一区二区三区| 依依成人影院在线观看av| 欧美午夜福利在线视频| 中文字幕乱码av一区二区| 在线看电影亚洲一区| 91这里只有精品在线观看| 日本视频三区在线播放| 久久精品亚洲国产成人av| 亚洲一区二区三区免费在线看| 欧美性色黄大片人与善| 欧美日韩亚洲国产激情| 婷婷精品国产欧美精品亚洲| 黄片欧美精品在线观看| 丰满人妻毛片一区二区三区| 中文字幕制服日韩久久一区| 亚洲精品一品区二品区三区| 巨乳人妻一区二区三区| 免费av男人天堂亚洲天堂|