em | ex | px | % | in | cm | mm | pt |
---|---|---|---|---|---|---|---|
pc | font-family | generic-family | serif | sans-serif | cursive | fantasy | monospace |
■文字の相対的な大きさ
見出し | size | px | em | % | 新規格ブラウザ | 旧規格ブラウザ | 相対値 |
---|---|---|---|---|---|---|---|
- | 7 | 48 | 3 | 300 | - | xx-large | - |
H1 | 6 | 32 | 2 | 200 | xx-large | x-large | - |
H2 | 5 | 24 | 1.5 | 150 | x-large | large | - |
H3 | 4 | 19.2 | 1.2 | 120 | large | medium | larger |
H4 | 3 | 16 | 1 | 100 | medium | small | - |
H5 | 2 | 14.2 | 0.89 | 88.9 | small | x-small | smaller |
- | - | 12 | 0.75 | 75 | x-small | xx-small | - |
H6 | 1 | 9.6 | 0.6 | 60 | xx-small | - | - |