Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 92 - 2633 Trackpad Pro V5.1 Class 7
P. 92

    Example:
                                                                                   HTML provides the structural skeleton
                      <!DOCTYPE HTML>
                                                                                   of a webpage, similar to how natural
                      <HTML>                                                          formations like mountains and
                      <HEAD>                                                         valleys define the landscape of an
                                                                                               environment.
                      <TITLE> iFrames Border </TITLE>
                      <STYLE>
                      Body {Background-Color:Grey}
                      iframe{border-width:10px;border-style:dotted;border-color:purple;}
                      </STYLE>

                      </HEAD>
                      <BODY>
                      <H1 STYLE = "text-align:center"> Example of double spread containing
                      inline frames </H1>
                      <iframe src = "Frame1.html" Style="Height:200px;Width:200px;" Title =
                      "iframe Example"> </iframe>
                      <iframe src = "Frame2.html" Style="Height:200px;Width:200px;" Title =
                      iframe Example"> </iframe>
                      </BODY>

                      </HTML>

                                MARGIN PROPERTIES

                      Margin is the space that appears around an element. The margin property is used to set margins
                      for any web page element. The four sides used with the margin property are: left, right, top and
                      bottom. The value of sides can be measured in pixels (for example: 20px, 30px, etc.) or as a
                      percentage of the window. Properties to set margin around an element are:

                         MARGIN: It specifies the margin around an element on all sides.

                         MARGIN-BOTTOM: It is used to set the bottom margin of an element.
                         MARGIN-TOP: It is used to set the top margin of an element.

                         MARGIN-LEFT: It is used to set the left margin of an element.

                       90   Premium Edition-VII

| 87 88 89 90 91 92 93 94 95 96 97 |