2.2. Basic Text Elements

The basic text section elements include P (basic paragraph), PRE (preformatted text where white space is preserved), ADDRESS (for listing contact information), and BLOCKQUOTE (for large quotations or for regular paragraphs with indented left and right margins).

Basic Paragraphs

HTML Element: <P ...> ... </P> (End Tag Optional)
Attributes: ALIGN

The P element designates basic paragraphs, resulting in a section of text with blank space above and below. Although P is a container, the end tag is optional and most other block-level elements imply an end to the previous paragraph. Furthermore, body text not appearing inside any other block-level element is assumed to be inside a P element. Thus, many authors treat P as though ...

Get Core Web Programming, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.