Web Page CentralPoliciesHTMLFAQPublishingBookletToolsLinks

Home :: Learning HTML :: Block Level :: Preformatted Text

Search

[Help]
Match:

[Off Site Link]=Off Site Link[Help]

[Direct Link to File]=Link to File[Help]

Preformatted Text

As was noted in the section on Paragraphs, multiple spaces, tabs and returns are all condensed into one space. But what if you need to display lots of spaces? The PRE element, which stands for preformatted text, can do this for you. Example:

<PRE>
Student       Oranges    Apples
Jorge            6         12
Susanna          9         11
              -------    ------
Total           15         23
</PRE>

is rendered as:

Student       Oranges    Apples
Jorge            6         12
Susanna          9         11
              -------    ------
Total           15         23

Previous: Paragraphs
Next: Lists


Home:: Learning HTML :: Block Level :: Preformatted Text

Home | Policies | HTML | FAQ
Publishing | Booklet | Tools | Links

Last Update: 2000-04-19
This Page's Address: http://www.madison.k12.wi.us/webpub/basics23.htm
District Home Page: http://www.madison.k12.wi.us
HTML Editor & Publisher: Chris Burch, cburch@madison.k12.wi.us
webmaster@madison.k12.wi.us