The pre tag
The pre
tag specifies the output of text as it is typed in the document: with all indents (tabs), spaces, and line breaks.
Text placed inside the pre
tag will become monospace (meaning that all letters will be the same length). For more information about monospaced text, see the font-family
property in the monospace
value.
See also
-
property
white-space
,
which creates the effect of thepre
tag -
property
tab-size
,
which sets the tab size