Page 52 - modular_v2.0_HTML&_CSS_Fb
P. 52

It will be shown on your web page as under:
















                     THE <HR/> TAG

                  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. 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:

                       STYLE: It styles  the horizontal line with height, color, etc. The width property  sets  the
                       horizontal size of a line, the height defines the vertical size of a line, and the background-
                       color property sets the background colour of the line.
                       <HR STYLE="WIDTH: 50%; HEIGHT: 5PX; BACKGROUND-COLOR: BLUE;" />

                       TITLE: It  provides additional information (appears as a tooltip on hover).
                       <HR TITLE="EXAMPLE"/>

                  The following HTML code demonstrates the use of the <HR/> tag:

                  <!DOCTYPE HTML>
                  <HEAD>

                  <TITLE>
                  HR TAG EXAMPLE

                  </TITLE>
                  </HEAD>

                  <BODY>
                  <P>

                  THE HORIZONTAL LINE
                  </P>

                  <HR STYLE="WIDTH: 50%; HEIGHT: 5PX; BACKGROUND-COLOR: BLUE;" TITLE="THIS
                  IS A HORIZONTAL LINE">
                  </BODY>

                  </HTML>





                   50
                          Touchpad MODULAR (Ver. 2.0)
   47   48   49   50   51   52   53   54   55   56   57