HTML Text Sizes
There are two approaches to setting text height on a web page:
- Choose one of the 7 standard browser defaults (from "xx-small" to "xx-small"). The displayed size will then depend on a combination of:
- Which of the seven standard sizes is used;
- The browser and version used for viewing;
- The "screen area" setting (eg: 800 by 600 pixels) chosen by the user;
- The "display size" (typically five values from "largest" to "smallest") selected by the person viewing the page
- Define the text height directly (normally in pixels - px). The person viewing the page then normally looses the ability to increase or reduce the text size displayed.
Browser Default text sizes:
If your computer is using a browser which supports the HTML 4.01 standard, this page should display text in each of the seven variable text sizes. When specified in this way, some browsers allow the viewer to adjust the text size displayed.
| Size: | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| HTML4.01 size name: | "xx-small" | "x-small" | "small" | "normal" | "large" | "x-large" | "xx-large" |
| | |
| Size 1 bold | Size 1 normal |
| Size 2 bold | Size 2 normal |
| Size 3 bold | Size 3 normal |
| Size 4 bold | Size 4 normal |
| Size 5 bold | Size 5 normal |
| Size 6 bold | Size 6 normal |
| Size 7 bold | Size 7 normal |
Point specification of text sizes:
Text size can also be specified by directly quoting the text height in points ("pt"), or certain other measures. The user then normally has no control of the display size.
| | |
| 10 point | 12 point |
| 14 point | 16 point |
| 18 point | 20 point |
| 24 point | 28 point |
| 32 point | 36 point |
| 40 point | 44 point |