Edit This Code:
See Result »
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../../maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="../../ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <script src="../../maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>Typography</h2> <p class="text-left">Left-aligned text.</p> <p class="text-right">Right-aligned text.</p> <p class="text-center">Center-aligned text.</p> <p class="text-justify">Justified text. Justified text. Justified text. Justified text. Justified text. Justified text.</p> <p class="text-nowrap">No wrap text. No wrap text. No wrap text. No wrap text.</p> <p><strong>Tip:</strong> Try to resize the browser window to see the behaviour of justify and nowrap.</p> </div> </body> <!-- Mirrored from www.w3schools.com/bootstrap/tryit.asp?filename=trybs_ref_text-left&stacked=h by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:02:06 GMT --> </html>
Result: