Key Points
Most tags are descriptive in nature; in other words, they specify that text has a certain function, rather than specifying a certain way it should appear.
The exact formatting of descriptive tags is controlled by the browser defaults, by individual user customization, or by styles.
Headings are defined by tags <h1> through <h6>, from largest to smallest.
To make text bold, use the <b> tag; to make text italicized, use the <i> tag.
The tag for superscript is <sup>; the tag for subscript is <sub>.
Monospace text is text in which each character occupies the same amount of horizontal space; its opposite is proportional text.
By default, most Web text appears in a proportional font. To specify a monospace font, use the <tt>, <kbd>, <code>, or ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access