<pre>

Description

This element renders a block of text in a fixed-width or monospaced font.

Example


<html>
<body>
     <pre>No nonbreaking spaces (&amp;nbsp;) 
     are necessary in a pre element.</pre>
</body><!--  w ww.j a  v  a2 s .  c  o m-->
</html>

Click to view the demo

The code above generates the following result.

pre




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference