HTML — Preformatted Text with <pre>
The <pre>
tag displays preformatted text, preserving spaces and line breaks. It’s useful for showing code or formatted data.
<pre>
Line 1
Line 2 (indented)
Line 3 (more indented)
</pre>
The <pre>
tag displays preformatted text, preserving spaces and line breaks. It’s useful for showing code or formatted data.
<pre>
Line 1
Line 2 (indented)
Line 3 (more indented)
</pre>