pre elementBlock-level element, and structured inline-level element.
HTMLElement.
The pre element represents a block of
preformatted text, in which structure is represented by typographic
conventions rather than by elements.
Some examples of cases where the pre
element could be used:
If, ignoring text nodes
consisting only of whitespace, the only child of a pre is a code
element, then the pre element represents a
block of computer code.
If, ignoring text nodes
consisting only of whitespace, the only child of a pre is a samp
element, then the pre element represents a
block of computer output.