Page 88 - Computer - 7
P. 88

Lab Activity 2                                                                         Experiential Learning
           To set cyan as background colour in a web page.

            1.  Open Notepad and create the HTML document as shown below.





















            2.  Open the HTML document in Microsoft Edge.


























                   Knowledge Discovery                                                             Subject Enrichment

                The image to be used as the background of a web page must be placed in the same folder as the HTML
                file of the web page.



          SETTING TEXT PROPERTIES
          Text properties provide various formatting options to let you style text in a web page. The various text
          properties are described in the table given below.


                Property                Description                     Value(s)                    Example

                                                               colour name,                color: blue
                                Specifies the foreground
           color                                               hexadecimal colour          color: #ff3535
                                colour of the text
                                                               value, RGB colour value     color: rgb(40, 550, 135)



               86
   83   84   85   86   87   88   89   90   91   92   93