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

Name

abbr, acronym, cite, code, dfn, em, kbd, samp, strong, var

Synopsis

    <abbr>...</abbr>, <acronym>...</acronym>, etc.

Attributes

Core (id, class, style, title), Internationalization, Events

Phrase elements may contain other inline elements. The meaning and use of each element is listed here. When elements have a standardized presentation in browsers (for example, em elements universally display in an italic font), it is also noted. Authors are reminded, however, to choose elements based on meaning, not a desired rendering effect.

em

Indicates emphasized text. em elements are nearly always rendered in italics.

strong

Denotes strongly emphasized text. Strong elements are nearly always rendered in bold text.

abbr

Indicates an abbreviated form.

acronym

Indicates an acronym.

cite

Denotes a citation: a reference to another document, especially books, magazines, articles, and so on. cites are commonly rendered in italics.

dfn

Indicates the defining instance or first occurrence of the enclosed term. It can be used to call attention to the introduction of special terms and phrases. Defining terms are often rendered in italics.

code

Denotes a program code sample. By default, code is rendered in the browser’s specified fixed-width font (usually Courier).

kbd

Stands for “keyboard” and indicates text entered by the user. It may be useful for technical documents. Keyboard text is typically rendered in a fixed-width font.

samp

Indicates sample output from programs, scripts, etc. It may be useful ...

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