HTML Example: Text Element Pre
x
<title>HTML Example: Text Element Pre</title>
<pre>
This text has
been formatted using
the HTML pre tag. The browser should
display all white space
as it was entered.
</pre>
<hr>
<p>The <code>pre</code> element represents preformatted text in an HTML document.</p>
In this example, the left side provides the code used to render the output in the right side.
Feel free to copy and paste the code into your own project and modify as you wish.
About HTML
HTML stands for HyperText Markup Language. It's the markup language that enables us to create web pages. Web pages typically consist of HTML, as well as various other technologies, such as CSS (Cascading Style Sheets - for adding styles to web pages), JavaScript (for adding functionality), and jQuery, to name a few.