SyntaxStudy
Sign Up

<pre>

tag

Represents preformatted text. Whitespace inside is displayed as written, using a monospace font.

Syntax

<pre> ... </pre>

Example

html
<pre>
function hello() {
    console.log("Hello, World!");
}
</pre>