Bootstrap pre formatted text style

Description

Use <pre> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.

Example


<!DOCTYPE HTML>
<html> 
<head> 
<link href="http://java2s.com/style/bootstrap.min.css" rel="stylesheet">
</head><!-- w w w.  j  av a2 s .  com-->
<body style='margin:20px;'>

<pre>&lt;p&gt;Sample text here...&lt;/p&gt;</pre>
        
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Tutorial »




Bootstrap
Basic HTML Style
List
Table