Page 90 - CA_165_V2.0_Flipbook
P. 90

This tag is required when paragraphs of textual matter (newspaper articles, stories, etc.) are needed to be
                  separated. If this tag is not used then, the complete text matter in the document is displayed continously
                  as one part.

                  ALIGN Attribute
                  ALIGN attribute is used for horizontal alignment. The values that are used with this attribute are LEFT,
                  RIGHT or CENTER. The syntax for using the ALIGN attribute with the <P> tag is as follows:

                    <P ALIGN = "RIGHT" > Paragraph Content which appears here.</P>
                  The following HTML code uses the <P> tag to define a paragraph:

                  <HTML>

                  <HEAD>
                  <TITLE> Using Pragraph Tags </TITLE>

                  </HEAD>

                  <BODY BGCOLOR = "GREEN" TEXT = "WHITE">
                  ORANGE EDUCATION, INDIA

                  <P> A Complete Reference Book for Students</P>

                  </BODY>

                  </HTML>
                  The output of the preceding HTML code is as follows:







                       New paragraph begins after
                        leaving a blank line due to
                           <P> ...... </P> tag.












                  The following table lists all the attributes of the <P> tag, their possible values, and a description of their
                  purpose:

                      Attribute Name                   Value                              Description

                   ALIGN                    LEFT, RIGHT, CENTER           Specifies the alignment of the paragraph.
                                                                                            Not supported in HTML5








                    88   Touchpad Computer Applications-X
   85   86   87   88   89   90   91   92   93   94   95