Changing the Size of Text

The big and small tags change the relative size of a given word or phrase with respect to the surrounding text.

To make the text bigger or smaller than the surrounding text:

1.
Type <big> or <small>.
2.
Type the text that should be bigger or smaller.
3.
Type </big> or </small> depending on the tag used in step 1.
Figure 4.4. The big and small tags are a fast and easy way to make text stand out.

Figure 4.5. The big and small elements enjoy wide support. They have identical effects in most browsers. (This is Internet Explorer 7 for Windows.)

✓ Tips

  • Of course, “big” and “small” are relative, and the specifications ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.