Links
Home
Email
<PRE> and </PRE>
Description:
Shows preformatted text as it is included, with exactly specified whitespace, blank lines and such.
Attributes:
| class=class | |
| Indicates that the text is to be formatted using the specified class. | |
| COLS=n | |
| Maximum number of characters that can be displayed per line. | |
| dir=direction | |
| Indicates the direction (right or left) that the text is to be displayed. Useful for languages which display left to right. | |
| event=JavaScript | |
| When event occurs, execute the specified JavaScript. | |
| id = "name" | |
| You can give a text a name, which allows it to be referenced and changed in a script (dynamic HTML). | |
| lang="lang" | |
| Indicates the language of the text within the text. | |
| style="style" | |
| Defines the style in which the text will be displayed. This overrides any style elements at an "outer" level, such as from the BODY or the Cascading Style Sheet. | |
| title="title" | |
| You can give a text a title if you want. This provides some additional information about the text. I'm not sure why you would want to do this, but you could. | |
| WIDTH=n | |
| Maximum number of characters that can be displayed per line. | |
| WRAP | |
| Wrap the lines. Default is to not wrap. | |
Examples:
<PRE> |
This example shows that this tag
is pretty useful as
it preserves whitespace.
Internet Tips Contents
404 Errors
Advertising
Autoresponse
Awardmaster
Basics
Browsers
Careers
Chatting
Disasters
Domains
Email
Emoticons
Ezines
Free Stuff
Fun Stuff
FTP
Graphics
Homepages
HTML Reference
HTML Tutorial
Interactive
Legal
Links
Msg Boards
Microsoft
Money
Multimedia
Networks
Newsgroups
Newsletter
Products
RFC's
Ringmaster
Searches
Security
Sticky Sites
Surfing
TANSTAAFL
Telnet
Viral
Webmaster
Your System