3.1. Physical Character Styles
These elements specify the type of font or character style that should be applied to the enclosed text. They can be used almost anywhere, with a few exceptions such as the TITLE and labels of SUBMIT. Character styles can be nested to compose styles for bold-italic, an underlined fixed-width font, a large, green, bold, italic, strike-through font, and so forth.
HTML Element: | <B> ... </B> |
Attributes: | None |
The B element instructs the browser to use a bold version of the current font for the enclosed text. This rendering can be overridden by the use of style sheets (see Chapter 5 for details).
HTML Element: | <I> ... </I> |
Attributes: | None |
The I element instructs the browser to use italics for the enclosed text.
HTML ... |
Get Core Web Programming, Second Edition 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.