Page 29 - 2606_PlugGPT_C6_Flipbook
P. 29

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.


                 <!DOCTYPE HTML>
                 <HTML>
                 <HEAD>
                 <TITLE> HR Tag </TITLE>
                 </HEAD>
                 <BODY>
                 <p>This  is the  first  paragraph  of  the
                 tag. HTML is the standard markup                                CSS is like the colour and texture
                 language for Webpages. </p>                                    of a flower or leaf, which enhances
                 <hr>                                                                the plant's visual appeal.
                 <p>This is the second paragraph of the
                 tag.HTML is the standard markup
                 language for Webpages.</p>
                 <hr>
                 </BODY>
                 </HTML>


                           STYLING HTML5 DOCUMENTS WITH CASCADING STYLE SHEETS


                 CSS (Cascading Style Sheets) is a language used to describe how HTML documents should look
                 and be formatted. The latest version of CSS is CSS 3. Earlier, CSS 2 was used. CSS comprises style
                 rules that are interpreted by the web browser and then applied to the corresponding elements in
                 the HTML webpage.
                 The Cascading Style Sheet has two parts: selector and declaration.


                                        Selector             Declaration
                                          H1       { Color : Blue; Font-Size : 12px; }


                                                     Property  Value   Property     Value








                                                                                            Learn HTML5 and CSS3  27
   24   25   26   27   28   29   30   31   32   33   34