html when is pre tag used code example
Example: html pre tag
The <pre> tag defines preformatted text.
Text in a <pre> element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks.
Example:
<pre>
Hello greppers, ankur
here hope you all
are enjoying the
coding.
</pre>