Text Phrases and Paragraphs


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

<acronym>...</acronym>

Usage

Defines acronyms.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<address>...</address>

Usage

Provides a special format for author or contact information.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.

Notes

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


<blockquote>...</blockquote>

Usage

Displays long quotations.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

 

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

Empty

No.


<br>

Usage

Forces a line break.

Start/End Tag

Required/IllegalSee note for XHTML 1.0 requirements.

Attributes

%coreattrs, %i18n, %events.

Deprecated

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

Empty

Yes.

Notes

In XHTML 1.0, this tag should take the XML form of <br /> to ensure compatibility with older browsers.


<cite>...</cite>

Usage

Cites a reference.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<code>...</code>

Usage

Identifies a code fragment for display.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<del>...</del>

Usage

Shows text as having been deleted from the document since the last change.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

 

cite="..."The URL of the source document.

 

datetime="..."Indicates the date and time of the change.

Empty

No.

Notes

New element in HTML 4.01.


<dfn>...</dfn>

Usage

Defines an enclosed term.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<em>...</em>

Usage

Emphasizes text.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<ins>...</ins>

Usage

Shows text as having been inserted in the document since the last change.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

 

cite="..."The URL of the source document.

 

datetime="..."Indicates the date and time of the change.

Empty

No.

Notes

New element in HTML 4.01.


<kbd>...</kbd>

Usage

Indicates text a user would type.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<p>...</p>

Usage

Defines a paragraph.

Start/End Tag

Required/Optional (HTML); Required/Required (XHTML 1.0).

Attributes

%coreattrs, %i18n, %events.

Deprecated

align="..."Controls alignment (left, center, right, justify).

Empty

No.


<pre>...</pre>

Usage

Displays preformatted text.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Deprecated

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

Empty

No.


<q>...</q>

Usage

Displays short quotations that do not require paragraph breaks.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

 

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

Empty

No.

Notes

New element in HTML 4.01.


<samp>...</samp>

Usage

Identifies sample output.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<strong>...</strong>

Usage

Stronger emphasis.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<sub>...</sub>

Usage

Creates subscript.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<sup>...</sup>

Usage

Creates superscript.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.


<var>...</var>

Usage

A variable.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

Empty

No.





Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition)
ISBN: 0672328860
EAN: 2147483647
Year: 2007
Pages: 305

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