Thursday, 21 July 2016

HTML Paragraph Tag | Paragraph tag HTML is used to add Paragraph in web page website

HTML Paragraph Tag used to add paragraph in web page or website with properties


1.Paragraph tag is an HTML tag which is used to insert a paragraph.

2.Paragraph tag is start with start tag <p> and end with end tag </p>.Something typed or written in this tag shows as a paragraph on a web page.


3.Here are some elements used with paragraph tag like align(Left,Right,Justify) to set the location or format of a paragraph.


4.You can also use "<pre></pre>" tag for paragraph.This tag provides proper space between the word that makes paragraph easy to read and look neat and clean.In this tag when you press "Enter" after typing the first line and type the second line.so second line show after the first line without using break tag <br>.


Paragraph tag Example:


<!DOCTYPE html>

<html>

    <head>

          <title>Image Tag </title>

    </head>

<body>

<p>This is a paragraph with paragraph tag. </p>

<p>This is a muliple line paragraph with paragraph tag. 

This is a muliple line paragraph with paragraph tag.

This is a multiple line paragraph with the paragraph tag.

</p>

<pre>This is a multiple line paragraph with the paragraph tag. 

This is a multiple line paragraph with the paragraph tag.

This is a muliple line paragraph with paragraph tag.

</pre>

</body>

</html>

Paragraph tag
Paragraph tag

Please comment if you like it.THANKS


No comments:

Post a Comment

Leave a Reply!