Skip to Content
Web Design in a Nutshell, 3rd Edition
book

Web Design in a Nutshell, 3rd Edition

by Jennifer Robbins
February 2006
Intermediate to advanced
826 pages
63h 42m
English
O'Reilly Media, Inc.
Content preview from Web Design in a Nutshell, 3rd Edition

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

h#

Heading

div

Block division

p

Paragraph

span

Span of inline content

pre

Preformatted text

Lists

address

Contact information

ul

Unordered list

blockquote

Lengthy quotation

ol

Ordered list

Inline elements

li

List item

abbr

Abbreviation

dl

Definition list

acronym

Acronym

dt

Term

cite

Citation or reference

dd

Definition

code

Code fragment

menu

Menu list

dfn

Defining term

dir

Directory

em

Emphasized text

Presentational elements

q

Short inline quotation

b

Bold

strong

Strongly emphasized

big

Big text

samp

Sample output

i

Italic

kbd

Text entered by a user

s

Strike-through

var

Variable or program argument

strike

Strike-through

sub

Subscript

tt

Teletype

sup

Superscript

u

Underlined

Line breaks

  

br

Inserts line break

font

Font face, color, and size

Edit notation

basefont

Sets default font face

ins

Inserted text

nobr

No break

del

Deleted text

wbr

Word break

  

hr

Horizontal rule

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.
Start your free trial

You might also like

Beginning Responsive Web Design with HTML5 and CSS3

Beginning Responsive Web Design with HTML5 and CSS3

Jonathan Fielding

Publisher Resources

ISBN: 0596009879Errata Page