![]() |
|
<pre>
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||
This element sets up a block of text which will be presented in a fixed-width font, with space and carriage return/line feeds as significant. It must also be noted that <pre> must start on a new line.
Example:
This is an example of the <pre>tag. You will notice(crlf)
that spaces are significant and the font(crlf)
is fixed width. The carriage return line feed "crlf"(crlf)
was inserted into the text by me not by the browser.(crlf)
It is important to note that this was the original(crlf)
method of presenting tables.
class=
|
||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
clear=
|
"When there is already a figure or table in the margin, you sometimes want to position another figure below the figure in the margin rather than alongside it. The CLEAR attribute allows you to move down unconditionally:" (w3)
Alternatively, you can decide to place the figure alongside the figure in the margin just so long as there is enough room. The minimum width needed is specified as "## en" where ##="the" number of nutts or ### pixels where ### is the number of pixels. it must be noted that I have found no other confirmation of this attribute. It came from James C. Armstrong's HTML Reference card. It is published by Specialized Systems Consultants, Inc. |
|||||||||||||||||||
"left"
|
"move down until left margin is clear" (w3) | |||||||||||||||||||
"right"
|
"move down until right margin is clear" (w3) | |||||||||||||||||||
"all"
|
"move down until both margins are clear" (w3) | |||||||||||||||||||
"## en"
|
"move down until there is at least 40 en units free" (w3) | |||||||||||||||||||
"### pixels"
|
"move down until there is at least 100 pixels free" (w3) | |||||||||||||||||||
dir=
|
||||||||||||||||||||
| "ltr" | ||||||||||||||||||||
| "rtl" | ||||||||||||||||||||
id=
|
||||||||||||||||||||
index=
|
||||||||||||||||||||
lang=
|
list of language codes list of country codes |
|||||||||||||||||||
style=
|
||||||||||||||||||||
title=
|
||||||||||||||||||||
width="char"
|
This specifies the width of the presentation, where char is the number of equally spaced characters. Anchors and character formatting within PRE, but not elements that define paragraph breaks (e.g. headings, address, the P element, etc.) are usable. | |||||||||||||||||||