<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>