Page 82 - TechPluse_C7_Flipbook
P. 82

Center: It aligns the text to the center of the web page. For example,

                        <p align=”center”> Animation </p>

                  Following web page is created by using the <P> tag:

                  <html>
                         <head>
                                <title> Example of Paragraph</title>

                         </head>

                         <body>
                                <p> First paragraph of content</p>
                                <p> Second paragraph of content</p>

                                <p> Third paragraph of content</p>

                                <p> Fourth paragraph of content</p>
                         </body>
                  </html>

                  Output of the preceding web page is as follows:




















                                                              Using <P> tag
                  The <BR> Tag

                  The Line Break tag is written as <BR>. This tag is used when you want to start a new line, but

                  do not want to start a new paragraph. This means that you want your text to come in next line
                  without leaving a blank line in between. This tag forces a line break wherever you will place it. It
                  is an empty tag. It is used as under:

                  <p align=“center”> You use line <br> break tag to start a <br> new line </p>
                  It will be shown on your web page as under:

                                                              You use line
                                                          break tag to start a
                                                                new line




               80       Premium Edition-VII
   77   78   79   80   81   82   83   84   85   86   87