Using Preformatted Paragraphs

You can use the preformatted text element (<pre>...</pre>) to tell a browser to render spaces and text exactly as you’ve typed.

This tag usually displays the contents of the element in a fixed-width font, as it is primarily used for preformatted code. However, it can also be used for preformatted text.

See the Pen </p> </div>


html preformatted