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





Web Design in a Nutshell
Web Design in a Nutshell: A Desktop Quick Reference (In a Nutshell (OReilly))
ISBN: 0596009879
EAN: 2147483647
Year: 2006
Pages: 325

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net