Page 86 - TP_Play_V2.1_class7
P. 86

Property               Value                     Description                   Example
                                                               Specifies  the  text  effects
                                     underline, overline or                                      text-decoration:
                   text-decoration                             like  underline, over line or
                                     strike-through                                              underline;
                                                               strike-through.


                                                               Specifies the transformation of
                                     capitalize, uppercase,                                      text-transform:
                   text-transform                              text into uppercase, lowercase
                                     lower-case and none                                         uppercase;
                                                               or title case.

                  Create an HTML5 web page by using the text-properties.

                  <!DOCTYPE html>
                  <HTML>
                  <HEAD> <TITLE>Text Properties</TITLE>

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

                  text-Decoration:underline;color:red}
                  </STYLE>

                  </HEAD>
                  <BODY>

                  <H1>Earth</H1>
                  <P style="font-family:Times New Roman; text-transform:uppercase"> Earth
                  is the third planet from the Sun. It is the only planet that is known

                  to sustain life form. About 70% of the Earth's surface is covered with
                  water, rest of the earth surface is home to all the land dwelling
                  animals.</P>

                  <HR>
                  <P style="font-family:Times New Roman; text-transform:lowercase">

                  Life on earth is sustained majorly due to the atmosphere. It consists of
                  4 layers, namely troposphere, stratosphere, mesosphere and thermosphere.
                  </P>

                  </BODY>
                  </HTML>















                   84       Play (Ver. 2.1)-VII
   81   82   83   84   85   86   87   88   89   90   91