<ul> <li>...</li> </ul>
<ol> <li>...</li> </ol>
<ul class="list-unstyled"> <li>...</li> </ul>
<ul class="list-inline"> <li>...</li> </ul>
<dl> <dt>...</dt> <dd>...</dd> </dl>
<dl class="dl-horizontal"> <dt>...</dt> <dd>...</dd> </dl>
自動截斷 經過 text-overflow 屬性,水平排列的描述列表將會截斷左側太長的短語。在較窄的視口(viewport)內,列表將變爲默認堆疊排列的佈局方式。html
For example, <code><section></code> should be wrapped as inline.
To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br> To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd>
<pre><p>Sample text here...</p></pre>
還可使用 .pre-scrollable 類,其做用是設置 max-height 爲 350px ,並在垂直方向展現滾動條。app
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>
<samp>This text is meant to be treated as sample output from a computer program.</samp>