bootstrap2.3.2常用标签的使用
<!DOCTYPE html>
<html lang="zh_CN">
<head>
<title>Bootstrap 101 Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/docs.css" rel="stylesheet">
<link href="css/google-code-prettify.css" rel="stylesheet"> </head>
<body>
<div class="container">
<div class="row">
<div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav">
<li><a href="#overview"><i class="icon-chevron-right"></i>
预览</a></li>
<li><a href="#transitions"><i class="icon-chevron-right"></i>
过渡</a></li>
<li><a href="#tableview"><i class="icon-chevron-right"></i>
表格</a></li>
<li><a href="#dropdowns"><i class="icon-chevron-right"></i>
下拉菜单</a></li>
<li><a href="#scrollspy"><i class="icon-chevron-right"></i>
Scrollspy</a></li>
<li><a href="#tabs"><i class="icon-chevron-right"></i> 选项卡</a></li>
<li><a href="#tooltips"><i class="icon-chevron-right"></i>
工具提示</a></li>
<li><a href="#popovers"><i class="icon-chevron-right"></i>
Popover</a></li>
<li><a href="#alerts"><i class="icon-chevron-right"></i>
警示</a></li>
<li><a href="#buttons"><i class="icon-chevron-right"></i>
按钮</a></li>
<li><a href="#collapse"><i class="icon-chevron-right"></i>
折叠</a></li>
<li><a href="#carousel"><i class="icon-chevron-right"></i>
旋转木马</a></li>
<li><a href="#typeahead"><i class="icon-chevron-right"></i>
预输入</a></li>
<li><a href="#affix"><i class="icon-chevron-right"></i> 附件</a></li>
</ul>
</div> <div class="span9">
<div class="row-fluid">
<h1>内容栏</h1>
</div>
<section id="overview">
<div class="row-fluid">
<p class="muted">
故事讲述<b>汤姆</b>从小就是个玩牌高手,所以他的好朋友,<i>肥皂、艾迪和培根</i>决定各凑两万五千英镑,让汤姆去参加一场黑社会高额赌金的牌局。 </p>
<div class="text-right">
<small>来自 <cite title="《娱乐周刊》">《娱乐周刊》</cite></small>
</div> <p class="text-warning">
<strong>汤姆</strong>从头到尾不知情,其实整个赌金根本就是个大骗局。于是汤姆不但输光所有的钱,还倒欠赌场主人五十万英镑。汤姆在一个星期内不能还清,他和他朋友们的手指和他老爸的酒吧都将不保。汤姆一伙想尽各种可能的凑钱办法,最后决定抢劫隔壁的毒犯。
</p> <p class="text-error">
而隔壁的毒犯同时也正计划抢劫他们的毒品供应商。汤姆一伙的计划听起来简单,但执行时却状况百出。突发的状况让这伙人不由得越陷越深。事情变得十分复杂,场面变得十分混乱。几个小混混发现整个事件已经发展到超出他们的想象,于是极力想逃脱,但是已经……
</p>
<address>
<strong>王皓和小雪科技有限公司</strong><br> 山东,济南 经十西路 28723 号<br>
159 6577 9823
</address>
<address>
<strong>E-Mail</strong><br> <a href="#">
hello@example.com</a>
</address>
<p class="text-left">此致 敬礼</p>
<p class="text-center">Franson</p>
<p class="text-right">2016-06-09</p>
</div>
</section>
<section id="transitions">
比如
<code><section></code>
就应该是使用行内包装。<br>
<pre>public class Student{<br>
private String name;
<br>}</pre>
</section>
<section id="tableview">
<table class="table table-striped">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>Wang</td>
<td>fusen</td>
<td>franson</td>
</tr>
<tr>
<td>Li</td>
<td>xiansheng</td>
<td>franson</td>
</tr>
<tr>
<td>Wang</td>
<td>fusen</td>
<td>franson</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Hu</td>
<td>min</td>
<td>amin</td>
</tr>
</tfoot>
</table>
<p>
斑马纹表格
<code>.table-striped</code>
<code>.table-hover</code>
</p>
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>Wang</td>
<td>fusen</td>
<td>franson</td>
</tr>
<tr>
<td>Li</td>
<td>xiansheng</td>
<td>franson</td>
</tr>
<tr>
<td>Wang</td>
<td>fusen</td>
<td>franson</td>
</tr> <tr>
<td>Hu</td>
<td>min</td>
<td>amin</td>
</tr>
</tbody>
</table>
<p>
被压缩的表格
<code>.table-condensed</code>
</p>
<table
class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>Wang</td>
<td>fusen</td>
<td>franson</td>
</tr>
<tr>
<td>Li</td>
<td>xiansheng</td>
<td>franson</td>
</tr>
<tr>
<td>Wang</td>
<td>fusen</td>
<td>franson</td>
</tr>
<tr>
<td>Hu</td>
<td>min</td>
<td>amin</td>
</tr>
</tbody>
</table>
<p>
带颜色的行
<code>.success .error .warning .info</code>
</p>
<table class="table table-striped table-bordered table-hover">
<caption class="text-center text-info">
<strong>用户列表<code><caption></code></strong>
</caption>
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr class="success">
<td>success</td>
<td>fusen</td>
<td>franson</td>
</tr>
<tr class="warning">
<td>warning</td>
<td>xiansheng</td>
<td>franson</td>
</tr>
<tr class="error">
<td>error</td>
<td>fusen</td>
<td>franson</td>
</tr>
<tr class="info">
<td>info</td>
<td>min</td>
<td>amin</td>
</tr>
</tbody>
</table>
</section>
<form action="#">
<fieldset>
<legend>默认表单样式</legend>
<label>用户名</label> <input type="text" placeholder="请输入用户名...">
<span class="help-block">这里是区块级别的帮助性文字</span> <label
class="checkbox"> <input type="checkbox">勾选一下
</label> <input type="submit" class="btn" value="提交">
</fieldset>
</form>
<form action="#" class="form-search">
<fieldset>
<legend>搜索表单</legend>
<input type="text" class="search-query" placeholder="搜索内容...">
<input type="submit" class="search-query btn" value="查询">
</fieldset>
</form>
<form class="form-inline">
<fieldset>
<legend>行内表单</legend>
<input type="text" class="input-small" placeholder="Email...">
<input type="text" class="input-small" placeholder="密码...">
<label class="checkbox"><input type="checkbox">记住我</label>
<input type="submit" class="btn">
</fieldset>
</form>
<form class="form-horizontal">
<fieldset>
<legend>水平表单</legend>
<div class="control-group">
<label class="control-label" for="inputEmail">Email</label>
<div class="controls">
<input type="text" id="inputEmail" placeholder="Email">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputPassword">密码</label>
<div class="controls">
<input type="password" id="inputPassword" placeholder="密码">
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox"> <input type="checkbox">
记住我
</label>
<button type="submit" class="btn">登录</button>
</div>
</div>
</fieldset>
</form>
<form class="form-horizontal">
<fieldset>
<legend>水平表单2</legend>
<div class="controls">
<label>Email</label> <input type="text" id="inputEmail"
placeholder="Email"> <label>密码</label> <input
type="password" id="inputPassword" placeholder="密码"> <label>自我介绍</label>
<textarea rows=3></textarea>
<label class="checkbox"> <input type="checkbox">
记住我
</label>
<button type="submit" class="btn">登录</button>
</div>
</fieldset>
</form>
<form>
<fieldset>
<legend>复选框与单选框</legend>
<label class="checkbox"><input type="checkbox" value="">选项一</label>
<label class="checkbox"><input type="checkbox" value="">
选项二</label> <label class="color"> <input type="color">颜色选择
</label> <br> <label class="radio"><input type="radio"
name="options" value="">选择一</label> <label class="radio"><input
type="radio" name="options" value="">选择二</label>
</fieldset>
</form>
<form>
<fieldset>
<legend>行内复选框与单选框</legend>
<label class="checkbox inline"><input type="checkbox"
value="">选项一</label> <label class="checkbox inline"><input
type="checkbox" value=""> 选项二</label> <label class="radio inline"><input
type="radio" name="options" value="">选择一</label> <label
class="radio inline"><input type="radio" name="options"
value="">选择二</label>
</fieldset>
</form>
<form>
<fieldset>
<legend>下拉框选项</legend>
<select>
<optgroup label="你的日常生活">
<option value="">吃饭</option>
<option value="">睡觉</option>
<option value="">打豆豆</option>
</optgroup>
</select><br> <select multiple="multiple">
<optgroup label="你的日常生活">
<option value="">吃饭</option>
<option value="">睡觉</option>
<option value="">打豆豆</option>
</optgroup>
</select>
</fieldset>
</form>
<div class="input-prepend input-append">
<input class="span6" placeholder="输入数值..."
id="appendedPrependedInput" type="text"> <input
type="button" value="搜索" class="btn"> <input type="button"
value="选项" class="btn">
</div>
<div class="input-append">
<input class="span2" id="appendedDropdownButton" type="text">
<div class="btn-group">
<button class="btn dropdown-toggle" data-toggle="dropdown">
搜索 <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li>用户</li>
<li>人物</li>
<li>电影</li>
</ul>
</div>
</div>
<a href="#" class="btn">我是链接<i class="icon-search"></i></a>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
<script src="js/application.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
bootstrap2.3.2常用标签的使用的更多相关文章
- HTML常用标签
HTML常用标签: HTML文档格式: 首先,HTML是一种超文本标签语言,它是制作网页的基础. 其次,HTML文档中至少包含基本的和成对的<html> </html>.< ...
- html常用标签介绍
常用标签介绍 文本 最常用的标签可能是<font>了,它用于改变字体,字号,文字颜色. 点击查看效果 <font size="6">6</font&g ...
- HTML常用标签总结
HTML 的常用标签总结 <font size="字体大小1-7" color="red或0xff00ff" face="字体类型(楷体等)&q ...
- html新增一些常用标签
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- [刘阳Java]_MyBatis_映射文件的常用标签总结_第5讲
MyBatis中常用标签的总结,简单给出自己的总结 MyBatis映射文件中的标签使用介绍1.<select>:用于编写查询语句用的标签 id:表示当前<select>标签的唯 ...
- CSS常用标签
CSS常用标签 一 CSS文字属性 color : #999999; /*文字颜色*/ font-family : 宋体,sans-serif; /*文字字体*/ font-size : 9pt; / ...
- HTML基础(一)——一般标签、常用标签和表格
第一部分 HTML <html> --开始标签 <head> 网页上的控制信息 <title>页面标题</title> </head> ...
- HTML-学习笔记(常用标签)
本篇博客讲一讲HTML中的标签 HTML 标题 标题(Heading)是通过 <h1> - <h6> 等标签进行定义的.<h1> 定义最大的标题.<h6> ...
- 帝国CMS文章随机调用等一些常用标签
1.帝国CMS文章随机调用等一些常用标签 [e:loop={'news',10,18,0,'newstime>UNIX_TIMESTAMP()-86400*7','onclick desc'}] ...
随机推荐
- Multipart/form-data POST文件上传详解(转)
Multipart/form-data POST文件上传详解 理论 简单的HTTP POST 大家通过HTTP向服务器发送POST请求提交数据,都是通过form表单提交的,代码如下: <form ...
- ssh 应用
SSH反向连接及Autossh ssh 隧道: http://www.cnblogs.com/robinyjj/archive/2008/11/02/1325018.html This guy wri ...
- Wormholes(SPFA+Bellman)
Wormholes Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 36860 Accepted: 13505 Descr ...
- SQL Server中的DATEPART函数的使用
下面文章来自:http://blog.csdn.net/hello_world_wusu/article/details/4632049 定义和用法 DATEPART() 函数用于返回日期/时间的单独 ...
- Design Pattern Iterator 迭代器设计模式
这个设计模式感觉很easy,我们平时敲代码的时候也是常常须要调用iterator的,C++和Java都是. 所以感觉没什么特别的.就是须要模仿C++或者Java的iterator类的功能吧. 这里简单 ...
- [置顶] 编辑框Editext光标最后显示
[MainActivity] package com.example.testeditext; import android.os.Bundle; import android.app.Activit ...
- JavaScript字符串插入、删除、替换函数
JavaScript字符串插入.删除.替换函数 说明: 以下函数中前两个函数取出查找字符串的前一部分和后一部分,以用于其他函数.注意,调用一次 replaceString(mainStr,search ...
- 学习DTD和Schema的几个例子
可以使用DTD(文档类型定义)来规定xml文档构建模块,可用起对xml文件进行验证.具体用法转:http://www.w3school.com.cn/dtd/dtd_intro.asp.同样也可以用S ...
- 跨文档消息传递----postMessage()
HTML5 规范中,提出了XDM,又称为 跨文档消息传递,其核心是 postMessage()方法,进行跨域和跨文档消息传递,示例如下: <div class="CrossDocume ...
- 第二章SignalR所支持的平台
第二章SignalR所支持的平台 SignalR支持各种服务器和客户端的配置.此外,每种传输方式都有自身的配置要求和限制:如果某种传输方式不被系统支持,SignalR优雅地将故障转移到其他类型的传输方 ...