'pre' renders text in a fixed-width or monospaced font : pre : Basic Tags HTML CSS TUTORIALS


HTML CSS TUTORIALS » Basic Tags » pre »

 

'pre' renders text in a fixed-width or monospaced font



    
<html>
<head>
<title>pre element example</title>
</head>
<body>
    <pre>No nonbreaking spaces (&nbsp;are necessary in a pre element.</pre>
Text      Text                     Text
Text text &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text 
</body>
</html>
    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Basic Tags
» pre