Menu
The pre
tag, or Preformatted Text element, designates that the text within it is preformatted. The browser typically renders it in a fixed-width font.
The text inside the <pre>
tag preserves spaces and line breaks and is displayed exactly as written in the HTML source code.
<pre>
This is some text
inside a pre tag.
</pre>
Have a code example of <pre>
? Submit a codepen.io demo and we'll showcase it here ↴