Change paragraph to Pre formatted layout - HTML CSS CSS Property

HTML CSS examples for CSS Property:white-space

Description

Change paragraph to Pre formatted layout

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style type="text/css">
p<!--from   w  ww . ja v  a  2s.  c  o m-->
 {
   white-space:pre;
}
</style> 
 </head> 
 <body> 
  <p> The quick brown fox jumps over the lazy dog </p>  
 </body>
</html>

Related Tutorials