Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 42 - 2606_PlugGPT_C6_Flipbook
P. 42

    Create HTML webpage by using margin properties.

                      <!DOCTYPE html>

                      <HTML>

                      <HEAD> <TITLE>Changing Margin</TITLE>

                      <STYLE>H1{font-family:"Comic Sans MS"; text-align:center;

                         text-Decoration:underline;color:green}

                      P{Margin-left:40px}

                      </STYLE> </HEAD>

                      <BODY><H1>Energy</H1>

                      <P style="font-family:Times New Roman; text-transform:uppercase">Energy
                      is the capacity for doing work. It may exist in potential, kinetic,thermal,
                      electrical,chemical,nuclear,or other various forms.</P>

                      <hr style="width:80%; height: 10px; background-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>

                       40   Premium Edition-VI

| 37 38 39 40 41 42 43 44 45 46 47 |