5.5.2. Preformatted Text: PRE
PacificCable.com
Quality Cables & Networking Supplies

Search by Cable Connectors
SHIPPING ADDRESS:
4170 B Place NW,
Auburn, WA 98001  USA
MAILING ADDRESS:
P.O. Box 8026,
Bonney Lake, WA 98391   USA
EMAIL: Sales, Customer Service or Webmaster PHONE: 800-931-3133 or 253-373-0800 | FAX: 253-373-0100
Hours: 9:00am - 5:00pm PST Monday - Friday View CartManage icWalletConnection ForumBookstore
You are here: PacificCable.com Arrow 5.5.2. Preformatted Text: PRE
Connected: An Internet Encyclopedia
5.5.2. Preformatted Text: PRE

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1866
Up: 5. Document Structure
Up: 5.5. Block Structuring Elements
Prev: 5.5.1. Paragraph: P
Next: 5.5.2.1. Example and Listing: XMP, LISTING

5.5.2. Preformatted Text: PRE

5.5.2. Preformatted Text: PRE

The <PRE> element represents a character cell block of text and is suitable for text that has been formatted for a monospaced font.

The <PRE> tag may be used with the optional WIDTH attribute. The WIDTH attribute specifies the maximum number of characters for a line and allows the HTML user agent to select a suitable font and indentation.

Within preformatted text:

Example of use:

    <PRE>
    Line 1.
           Line 2 is to the right of line 1.     <a href="abc">abc</a>
           Line 3 aligns with line 2.            <a href="def">def</a>
    </PRE>


Next: 5.5.2.1. Example and Listing: XMP, LISTING

Connected: An Internet Encyclopedia
5.5.2. Preformatted Text: PRE