Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
/* Default CSS Values */
pre {
  display: block;
  font-family: monospace;
  white-space: pre;
  margin: 1em 0;
}
</style>
</head>
<body>
<p>A pre element is displayed like this:</p>
<pre>
Text in a pre element
is displayed in a fixed-width
font, and it preserves
both    spaces and
line breaks
</pre>
<p>A customized pre element (changed white-space):</p>
<pre style="white-space:nowrap;">
Text in a pre element
is displayed in a fixed-width
font, and it preserves
both    spaces and
line breaks
</pre>
</body>
</html>