在标题内还可以包含
<small>标签或.small 元素,可以用来标记副标题。
<
div
class
="container">
<
h1
class
="page-header">
标题
</
h1
>
<
h1
>
h1. Bootstrap heading
</
h1
><
small
>
Secondary text
</
small
>
<
h2
>
h2. Bootstrap heading
</
h2
><
small
>
Secondary text
</
small
>
<
h3
>
h3. Bootstrap heading
</
h3
><
small
>
Secondary text
</
small
>
<
h4
>
h4. Bootstrap heading
</
h4
><
small
>
Secondary text
</
small
>
<
h5
>
h5. Bootstrap heading
</
h5
><
small
>
Secondary text
</
small
>
<
h6
>
h6. Bootstrap heading
</
h6
><
small
>
Secondary text
</
small
>
</
div
>
页面主体
Bootstrap 将全局 font-size 设置为 14px,line-height 为 1.428 。这些属性直接赋给<body>和所
有段落元素。另外,
<p>(段落)还被设置了等于 1/2 行高的底部外边距(margin)(即
10px)。
<
h1
class
="page-header">
页面主体
</
h1
>