Html的标题标签h1-h6种选择,从大到小;默认上下margin一样,靠左,不好改变;能用定位改变。
1、<h1></h1>
- display:block;
- font-size:32px;
- font-weight:700;
- height:42px;
- margin-block-end:21.44px;
- margin-block-start:21.44px;
- margin-inline-end:0px;
- margin-inline-start:0px;
2、<h2></h2>
- display:block;
- font-size:24px;
- font-weight:700;
- height:31px;
- margin-block-end:19.92px;
- margin-block-start:19.92px;
- margin-inline-end:0px;
- margin-inline-start:0px;
3、<h3></h3>
- display:block;
- font-size:13.28px;
- font-weight:700;
- height:17px;
- margin-block-end:22.1776px;
- margin-block-start:22.1776px;
- margin-inline-end:0px;
- margin-inline-start:0px;
4、<h4></h4>
- display:block;
- font-weight:700;
- height:21px;
- margin-block-end:21.28px;
- margin-block-start:21.28px;
- margin-inline-end:0px;
- margin-inline-start:0px;
5、<h5></h5>
- display:block;
- font-size:13.28px;
- font-weight:700;
- height:17px;
- margin-block-end:22.1776px;
- margin-block-start:22.1776px;
- margin-inline-end:0px;
- margin-inline-start:0px;
6、<h6></h6>
- display:block;
- font-size:12px;
- font-weight:700;
- height:16px;
- margin-block-end:27.96px;
- margin-block-start:27.96px;
- margin-inline-end:0px;
- margin-inline-start:0px;