Page 87 - TP_Prime_v2.2_Class_6
P. 87

The <HR> Tag                                                                                              HTML—AN INTRODUCTION


                 The <HR> 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 and does

                 not need an end 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.
                                                                                                                          85
                 <!DOCTYPE HTML>

                 <HTML>

                 <HEAD>

                   <TITLE>HR Tag</TITLE>

                  </HEAD>

                 <BODY>

                   <P>This is the first paragraph of the tag. HTML is the standard markup
                 language for Web pages.</P>

                   <HR>

                   <P>This  is the  second  paragraph  of  the  tag.  HTML  is  the  standard
                 markup language for Web pages.</P>

                   <HR>

                 </BODY>

                 </HTML>
   82   83   84   85   86   87   88   89   90   91   92