HTML and CSS Reference
In-Depth Information
[*]
Similar to
<br>
, with XHTML, the formal horizontal rule end tag is
<hr />
.
2.6.2.4. Preformatted text
Occasionally, you'll want the browser to display a block of text as is:
for example, with indented lines and vertically aligned letters or num-
bers that don't change even though the browser window might get res-
ized. The
<pre>
tag rises to those occasions. All text up to the closing
</pre>
end tag appears in the browser window exactly as you type it,
including carriage returns, line feeds, and leading, trailing, and inter-
vening spaces. Although very useful for tables and forms,
<pre>
text
looks pretty dull; the popular browsers render the block in a monospace
typeface. [
<pre>, 4.6.5
]