![]() |
Tutorials
| Workshop
| Troubleshooting
|
Markup Tags
Preformatted TextUse the<PRE> tag (which stands for "preformatted") to generate text in a fixed-width font. This tag also makes spaces, new lines, and tabs significant -- multiple spaces are displayed as multiple spaces, and lines break in the same locations as in the source HTML file. This is useful for program listings, among other things. The <PRE> tag can be used with an optional WIDTH attribute that specifies the maximum number of characters for a line. WIDTH also signals your browser to choose an appropriate font and indentation for the text. Hyperlinks can be used within <PRE> sections. You should avoid using other HTML tags within <PRE> sections, however. Note that because <, >, and & have special meanings in HTML, you must use their escape sequences (<, >, and &, respectively) to enter these characters. See the section Escape Sequences for more information. |
||||||||||||||||||||||||
|