Set paragraph tag text align left using bootstrap classes in HTML,PHP

How to create p tag from bootstrap class with text align left inside webpage.

In this tutorial we are using bootstrap text-left class to make paragraph tag text align side left. So here is the complete step by step tutorial for Set paragraph tag text align left using bootstrap classes in HTML,PHP.

How to Set paragraph tag text align left using bootstrap classes in HTML,PHP.

https://www.android-examples.com/demo/heading-tag.html

Code for p-align-left.html file.

 <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Text Align Left</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

</head>

<body>

<div class="container">

<h1>Text Align Left</h1>

<p class="text-left">This is Demo Sample Text starts from left side.</p>
 
</div>

</body>
</html>

Screenshot:

Set paragraph tag text align left using bootstrap classes in HTML,PHP

Leave a Reply

Your email address will not be published. Required fields are marked *