Page 16 - 2619_PlusGPT V2.1_C-7
P. 16

Output of the preceding web page is as follows:












                       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.
                  The <BR> tag is used as follows:

                  <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 shown:
                                                              You use line
                                                          break tag to start a
                                                                new line

                       The <HR> Tag

                  The Horizontal ruler tag is written as <HR>. This tag is used when you want to divide your web page into
                  different sections. It is also used when you want to draw a line between two paragraphs. It is an empty
                  tag. It gives a horizontal ruler (line) on the page and then the next element will be shown in a new line

                  after the ruler.
                  The <HR> tag has following attributes:
                     WIDTH:  It displays the horizontal ruler of the specified width in pixels or in percentage.

                        <hr width="550">  or  <hr width="80%">
                     SIZE: It controls the height or the thickness of the horizontal ruler.

                        <hr size="4">
                     COLOR: It is used to apply the background color.

                        <hr color="pink">
                     ALIGN: It is used to align the horizontal ruler left, right and center.
                        <hr align="right">


                          Let’s CatCh uP                                                           Computational Thinking


                    Circle the incorrect codes:
                    1.   <p align=”left”> Animation /p>                   2.  <hr width="550">

                    3.  </title> Example of Paragraph<title>              4.  <hr width="-80%">




                  14    Premium Edition-VII
   11   12   13   14   15   16   17   18   19   20   21