CSS Tutorial

CSS White Space

<!DOCTYPE html>
<title>Example</title>
<style>
  p {
    white-space: pre;
  }
</style>
<p>This text has a line break
    (actually, it has
many line breaks!)
and the 
   white-space pre setting 
tells the browser to honor it
      just like 
    the HTML pre tag.
</p>