PARAGRAPH ELEMENT


In a document we need free space after couple of lines. For this reason we can use this tag.  From the beginning we know that if we write  in 2 or 3 line space in editor it will be not same in browser. We used Br for a new line but it will not show the space between lines. That is why we are using Paragraph tag. The Tag is <P>………………………</P> . Here if we don’t use the End tage(/P) then also it can work.

Example:

<HTML>

<HEAD>

<TITLE>
Program 10
</TITLE>
</HEAD>
<BODY>
<P> This is First Line</P>
<P> This is Second Line
<P> This is Third Line
</BODY>
</HTML>

0 comments:

Post a Comment