Page 85 - ConceptGP_C6_Fb
P. 85

The web browser displays each heading with a different heading size.





                         uiz   Bee        What is an empty tag? Write an example of empty tag.
                                          _________________________________________________________________






                          <HR> TAG


                 The <HR> tag is used to divide the webpage into different sections by drawing a horizontal line in
                 the webpage. The thickness of the horizontal line is specified through the Size attribute and the

                 length is specified through the Width attribute in pixels or as a percentage. The Color attribute is
                 used to set the colour of the rule. The Noshade attribute makes the line appear flat grey, giving a
                 2D effect to the rule.

                 <!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 Size="10" width="80%" >
                 <p>This is the second paragraph of the tag.HTML is the standard markup
                 language for Web pages.</p>
                 <hr Size="10" width="80%" color="grey">
                 <hr Size="10" width="80%" color="Red">
                 </BODY>
                 </HTML>


                                                                                            Learn HTML5 and CSS3  83
   80   81   82   83   84   85   86   87   88   89   90