Page 92 - Trackpad_V1_Book 6_Flipbook
P. 92

<HTML>
                                                                                                                                                       MARGIN PROPERTIES
                  <HEAD>

                  <STYLE>                                                                                                                   Margin is the space that appears around an element. The margin property is used to set margins
                  H1 {color: blue; text-align: center}                                                                                      for any webpage element. The four sides used with the margin property are: left, right, top and
                  H2 {color: green; text-align: center}                                                                                     bottom. The value of sides can be measured in pixels (for example: 20px, 30px, etc.) or as a
                                                                                                                                            percentage of the window.
                  P {background-color:white}
                  Body {background-color:linen}                                                                                             Create HTML web page by using margin properties.
                  </STYLE>
                                                                                                                                            <!DOCTYPE html>
                  </HEAD>
                  <BODY>                                                                                                                    <HTML>
                  <H1>Measurement</H1>                                                                                                      <HEAD> <TITLE>Changing Margin</TITLE>
                  <P style="font-family: verdana;  font-size:  1.5em">Measurement  is the
                                                                                                                                            <STYLE>H1{font-family:Comic Sans MS; text-align:center;
                  quantification of attributes of an object or event, which can be used
                  to compare with other objects or events.</P>                                                                                 text-decoration:underline;color:green}
                  <H2>Types of Measurement</H2>
                                                                                                                                            P{margin-left:40px}
                  <P style="font-family:Arial Black; font-size: 1.5em">The three standard
                  systems of measurements are the International System of Units (SI units),                                                 </STYLE> </HEAD>
                  the British Imperial System, and the US Customary System.</P>
                                                                                                                                            <BODY><H1>Energy</H1>
                  </BODY>
                                                                                                                                            <P style="font-family:Times New Roman; text-transform:uppercase">Energy
                  </HTML>
                                                                                                                                            is the capacity  for doing work. It may exist in potential,  kinetic,
                                                                                                  Interdisciplinary
                                                                                                                                            thermal, electrical, chemical, nuclear, or other various forms.</P>

                                                                                                                                            <hr Size="10" width="80%" color="grey">

                                                                                                                                            <P style="font-family:Times New Roman; text-transform:lowercase">Energy
                                                                                                                                            is a requirement in our everyday life as a way of improving human
                                                                                                                                            development leading to economic growth and productivity.</P>

                                                                                                                                            </BODY>

                                                                                                                                            </HTML>

                                                                                                                                                                                                                          Interdisciplinary












                       Tick ( ) if you know this.
                       ▶    Cascading Style Sheets (CSS) is a convenient method of styling the elements of a webpage.
                       ▶    Font properties are used to change the font-family, font-size and font-style of the text.





                   90   Trackpad (Version 1.0)-VI
   87   88   89   90   91   92   93   94   95   96   97