102 of 133 menu

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 pretag 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 the pre tag
  • property tab-size,
    which sets the tab size
byenru