Chapter 10. Text Elements
This chapter gets to the real meat and potatoes of document markup: elements used to structure text content. It’s no surprise that nearly half of all the elements in the (X)HTML Recommendation are introduced in this chapter. The elements and discussions are organized as follows:
Block elements |
Generic elements | ||
|
Heading |
|
Block division |
|
Paragraph |
|
Span of inline content |
|
Preformatted text |
Lists | |
|
Contact information |
|
Unordered list |
|
Lengthy quotation |
|
Ordered list |
Inline elements |
|
List item | |
|
Abbreviation |
|
Definition list |
|
Acronym |
|
Term |
|
Citation or reference |
|
Definition |
|
Code fragment |
|
Menu list |
|
Defining term |
|
Directory |
|
Emphasized text |
Presentational elements | |
|
Short inline quotation |
|
Bold |
|
Strongly emphasized |
|
Big text |
|
Sample output |
|
Italic |
|
Text entered by a user |
|
Strike-through |
|
Variable or program argument |
|
Strike-through |
|
Subscript |
|
Teletype |
|
Superscript |
|
Underlined |
Line breaks | |||
|
Inserts line break |
|
Font face, color, and size |
Edit notation |
|
Sets default font face | |
|
Inserted text |
|
No break |
|
Deleted text |
|
Word break |
|
Horizontal rule |
Get Web Design in a Nutshell, 3rd 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.