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>

Related Posts:

  • CENTER ELEMENT You can use this tag to show the text in the center of your webpage. You can also do this by using ALIGN Attributes. i.e. <P ALIGN=CENTER>. Use this tage before and after the text you want to show in center.  Tag … Read More
  • LIST ElementWe covered few elements to make a web page. Now we will learn how to use LIST Element. This is an example of List Element We use this type of list in different purposes, such as Dictionary, Telephone guide, Address book, … Read More
  • ADDRESS ELEMENT Today we will see how to write your address using ADDRESS tag. It will show the address in a Italic font and easily determine as a different text. The tag is look like <ADDRESS>......................................<… Read More
  • FONT COLOR ELEMENT This tag is like FONT FACE and FONT SIZE element. Color can be declared by name like RED or GREEN or BLACK or you may use declare by decimal number which is decided for all the colors. This tag format is <FONT COLOR=(name… Read More
  • 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 B… Read More

0 comments:

Post a Comment