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

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://www.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è)計公司
日本道欧美一区二区aaaa| 久久精品国产亚洲av高清一区| 中文字幕精品高清中国| 免费人妻一区二区三区| 麻豆印象传媒在线观看| 精品人妻va人妻中文字幕麻豆| 欧美激情中文字幕日韩精品| 亚洲精品欧美综合第四区| 免费高清视频一区二区在线观看| 人妻中文字幕在线av| 亚洲综合一区二区精品久久| 婷婷中文字幕在线不卡视频| 国产精品不卡一不卡二| 九九九热精品视频在线观看| 亚洲中文字幕少妇视频| 国内精品久久久久久2021| 91精品国产老熟女在线| 亚洲av欧美日韩国产| 黄色黄色片黄色片黄色| 日韩不卡一区二区三区| 免费观看在线黄色大片| 中文免费在线观看av| 日韩精品综合成人欧美| 人妻熟女一区二区aⅴ在线视频| 国产激情在线四五区观看| 亚洲日日夜夜噜噜爽爽| 欧美日韩精品视频专区| 国产一区二区三区本色| 国产精品大片久久激情四射| 国产麻豆精品免费喷白浆视频网站| 欧美日韩欧美国产精品| 欧美黄色一区二区在线观看| 香港精品国产三级国产av| 风间由美亚洲一区二区三区| 中文字幕日本专区人妻| 在线观看不卡的黄色地址| 国产日韩欧美亚洲中文| 成人精品淫片一级免费| 色呦呦视频在线免费看| 欧美日韩亚洲激情一区| 亚洲一区二区三区免费观看视频|