Bootstrap排版:标题和副标题

Bootstrap 中定义了所有的 HTML 标题(h1 到 h6)的样式,同时在标题内还可以包含 <small> 标签或赋予 .small 类的元素,可以用来标记副标题。代码如下:

<h1>h1. Bootstrap heading <small>Secondary text</small></h1>
<h2>h2. Bootstrap heading <small>Secondary text</small></h2>
<h3>h3. Bootstrap heading <small>Secondary text</small></h3>
<h4>h4. Bootstrap heading <small>Secondary text</small></h4>
<h5>h5. Bootstrap heading <small>Secondary text</small></h5>
<h6>h6. Bootstrap heading <small>Secondary text</small></h6>

代码效果如下所示:

h1. Bootstrap heading Secondary text

h2. Bootstrap heading Secondary text

h3. Bootstrap heading Secondary text

h4. Bootstrap heading Secondary text

h5. Bootstrap heading Secondary text
h6. Bootstrap heading Secondary text

猜你喜欢
墨水的洗条方法 墨水怎么清洗
泡脚出汗能马上洗澡吗 泡脚流汗了能马上洗澡吗
发财树的风水摆放位置 发财树的风水摆放位置图
西安大华1935游玩攻略 大华1935门票多少钱
蒜蓉蒸茄子的做法 蒜泥蒸茄子做法
粽子外面的塑料可以一起煮吗 粽子可以和塑料袋一起用水煮吗?
蒸鱼豉油可以用味极鲜代替么 用味极鲜代替蒸鱼豉油可以吗
谋事在人的意思 谋事在人成事在天的意思

很赞哦! ()