Page 74 - trackpad v5.1 class 6 flipbook
P. 74

<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
                                            HI      { Color : Blue; Font-Size : 12px; }


                                                      Property  Value   Property     Value

                  The selector specifies the element to which we want to apply the formatting and the declaration
                  specifies the formatting to the selector.

                     The property of CSS is used to create a style.
                     Value is the valid value for the property.
                      A semicolon should be used at the end of the property-value pair, if more than one property is
                    used.






                   72   Pro (V5.1)-VI
   69   70   71   72   73   74   75   76   77   78   79