Text Phrases and Paragraphs


Text phrases (or blocks) can be structured to suit a specific purpose, such as creating a paragraph. This should not be confused with modifying the formatting of the text.

<address>...</address>

Usage

Provides a special format for author or contact information.

Attributes

core, i18n, events.

Notes

The <br /> element is commonly used inside the <address> element to break the lines of an address.


<blockquote>...</blockquote>

Usage

Used to display long quotations.

Attributes

core, i18n, events.

cite="..." The URL of the quoted text.


<br />

Usage

Forces a line break.

Attributes

core, i18n, events.

clear="..." Sets the location where the next line begins after a floating object (none, left, right, all).


<div>...</div>

Usage

The division element is used to add structure to a block of text.

Attributes

core, i18n, events.

Notes

Cannot be used within a <p> element.


<em>...</em>

Usage

Emphasized text.

Attributes

core, i18n, events.


<h1>...</h1><h6>...</h6>

Usage

The six headings (H1 is uppermost, or most important) are used in the body to structure information in a hierarchical fashion.

Attributes

core, i18n, events.

Notes

Visual browsers display the size of the headings in relation to their importance, <h1> being the largest and <h6> the smallest.


<p>...</p>

Usage

Defines a paragraph.

Attributes

core, i18n, events.


<pre>...</pre>

Usage

Displays preformatted text.

Attributes

core, i18n, events.

width="..." The width of the formatted text.


<strong>...</strong>

Usage

Stronger emphasis.

Attributes

core, i18n, events.


<sub>...</sub>

Usage

Creates subscript.

Attributes

core, i18n, events.


<sup>...</sup>

Usage

Creates superscript.

Attributes

core, i18n, events.




Sams Teach Yourself HTML in 10 Minutes
Sams Teach Yourself HTML in 10 Minutes (4th Edition)
ISBN: 067232878X
EAN: 2147483647
Year: 2004
Pages: 151
Authors: Deidre Hayes

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