Add a rectangular border around the multiline text - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Text

Description

Add a rectangular border around the multiline text

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--from   w w  w .  java  2s. com-->
 <body> 
  <pre>
     
         <b style="outline: 1px dotted #999;">this is a test.
  tes test test.
</b>

      </pre>  
 </body>
</html>

Related Tutorials