加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Bootstrap 排版

发布时间:2020-12-17 21:10:55 所属栏目:安全 来源:网络整理
导读:Bootstrap 排版实例 ! DOCTYPE html html lang ="en" head meta charset ="utf-8" title Example of Typography with bootstrap / title meta name ="description" content ="Creating a Liquid Layout,Typography with Bootstrap" link href ="../bootstrap

Bootstrap 排版实例

<!DOCTYPE html> 
<html lang="en"> 
<head> 
<meta charset="utf-8"> 
<title>Example of Typography with bootstrap</title> 
<meta name="description" content="Creating a Liquid Layout,Typography with Bootstrap"> 
<link href="../bootstrap/twitter-bootstrap-v2/docs/assets/css/bootstrap.css" rel="stylesheet"> 
</head>
<body>
<div class="container-fluid">
<h1>This is heading 1 / H1</h1>
<h2>This is heading 2 / H2</h2>
<h3>This is heading 3 / H3</h3>
<h4>This is heading 4 / H4</h4>
<h5>This is heading 5 / H6</h5>
<h6>This is heading 6 / H6</h6>
<p>This is text wrapped in paragraph. Lorem ipsum dolor sit amet,consectetur adipisicing elit,sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident,sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>This is an example of using <strong>Strong</strong> in text.</p>
<p>This is an example of using <em>emphasis</em> in text.</p>
<p>Headquarters of the <abbr title="United Nations">UN</abbr> is in Geneva,Austria.</p>
<!-- this is how address is used -->
<address>
        <strong>w3cschool</strong><br>
        21 Ramkrishna Road<br>
        Burdwan,WB 713101<br>
</address>
<!-- this is how blockquote is used -->
<blockquote>
  <p>You can't say A is made of B or vice versa. All mass is interaction.</p>
  <small>Statement titled "Principles" (c. 1950),quoted in Genius : The Life and Science of Richard Feynman (1992) by James Gleick</small>
</blockquote>
<h3>This is an unordered list</h3>
      <ul>
        <li>HTML5</li>
        <li>CSS3</li>
        <li>JavaScript</li>
        <li>PHP</li>
        <li>DataBases
          <ul>
            <li>MySQL</li>
            <li>POstgreSQL</li>
            <li>MS SQL Server</li>
          </ul>
        </li>
        <li>Tools and APIs</li>
        <li>JOSN</li>
        <li>C Language</li>
      </ul>
<h3>This is an unordered list but styles removed</h3>
      <ul class="unstyled">
        <li>HTML5</li>
        <li>CSS3</li>
        <li>JavaScript</li>
        <li>PHP</li>
        <li>DataBases
          <ul class="unstyled">
            <li>MySQL</li>
            <li>POstgreSQL</li>
            <li>MS SQL Server</li>
          </ul>
        </li>
        <li>Tools and APIs</li>
        <li>JOSN</li>
        <li>C Language</li>
      </ul>
    <h3>This is an ordered list</h3>
      <ol>
        <li>HTML5</li>
        <li>CSS3</li>
        <li>JavaScript</li>
        <li>PHP</li>
        <li>DataBases
          <ul class="unstyled">
            <li>MySQL</li>
            <li>PostgreSQL</li>
            <li>MS SQL Server</li>
          </ul>
        </li>
        <li>Tools and APIs</li>
        <li>JOSN</li>
        <li>C Language</li>
      </ol>
    <h3>Description list</h3>
      <dl>
        <dt>Ten years ago</dt>
        <dd>a crack commando unit was sent to prison</dd>
        <dt>by a military court </dt>
        <dd>for a crime they didn't commit.</dd>
        <dd>These men promptly escaped from.</dd>
        <dt>a maximum security stockade to the Los Angeles underground.</dt>
        <dd>Today,still wanted by the government,they survive as soldiers of fortune.</dd>
      </dl>
      <h3>Horizontal Description list</h3>
      <dl class="dl-horizontal">
        <dt>Ten years ago</dt>
        <dd>a crack commando unit was sent to prison</dd>
        <dt>by a military court </dt>
        <dd>for a crime they didn't commit.</dd>
        <dd>These men promptly escaped from.</dd>
        <dt>a maximum security stockade to the Los Angeles underground.</dt>
        <dd>Today,they survive as soldiers of fortune.</dd>
      </dl>
</div>
</body>
</html>

效果如图:

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读