Home » Web Development » 03 - Basic HTML Tags and Style Sheets
3

Paragraphs

Defining paragraphs in html

The <p> tag demarcates paragraphs in html. Paragraph alignment may be specified as an attribute - paragraphs are left aligned by default but may be right aligned, center aligned, or justified by setting the align attribute to 'right', 'center', or 'justify' respectively. Lets add a paragraph or two to our HTML document.

<body>
<h1>Online Florist -
<a href="http://plantanswers.tamu.edu/flowers/flower.html">Flowers</a>
For All Occasions</h1>
<br><br><br>
<hr>

<p align=justify>Hello! Welcome to your friendly neighborhood florist on the
Web. Take a look at our catalogue. You can choose from a variety of
bouquets and gifts. We have flowers to match every budget! Our flowers are
delivered fresh to your home and are payable COD.</p>

<p align=justify>If you are a new customer, take a minute to enter your
details and register with us so we know where to deliver your flowers. You
can change your contact details if you are a repeat customer. I Hope you
have a great shopping experience with us. Do keep coming back! Also, please
take a moment to give us your valuable suggestions and comments.</p>
</body>

After you copy the text we just added into the florist.html page, it should look like this:

ScreenShot 3c: The Florist.html Web Page

ScreenShot 3c: The Florist.html Web Page