| |
 
|
|
FONT CONVERSION TABLE |
 |
| Avoid absolute font sizes. Use heading tags (e.g., the H1, H2, and H3 commands in HTML), as opposed to font tags. Heading tags work well for readability and tend to yield better search engine results. You only need one <H1> tag on the page, and it should be at or near the top. Sub-headings should be done with <H2>. Sub-sub-headings are <H3> and so on. Each heading sits above, and introduces, the next paragraph or two of content. Warning: If you use H1 on all of your text, you will get hit for spamming. If you use H3 prior to an H1 you run the risk of your site not working for some people. |
 |
|
| CSS absolute-size values |
xx-small |
x-small |
small |
medium |
large |
x-large |
xx-large |
|
scaling factor |
3/5 |
3/4 |
8/9 |
1 |
6/5 |
3/2 |
2/1 |
3/1 |
HTML headings |
h6 |
|
h5 |
h4 |
h3 |
h2 |
h1 |
|
HTML font sizes |
1 |
|
2 |
3 |
4 |
5 |
6 |
7 |
|
|
Different media may need different scaling factors. Also, the UA should take the quality and availability of fonts into account when computing the table. The table may be different from one font family to another. Never mix absolute and relative sizes in the same document. See also http://www.w3.org/TR/CSS21/fonts.html |
|
|
|