Page 95 - Computer - 7
P. 95

2.  Open the HTML document in Microsoft Edge.























          INLINE STYLES
          Inline Styles are used to specify a style for a specific HTML element in a web page. An Inline style is
          specified by adding the style attribute to the HTML tag. Inline styles are useful for formatting specific
          elements in different styles. The various properties with the style attribute need to be enclosed within
          double quotes (“ ”).


            Lab Activity 5                                                                         Experiential Learning
           To use inline styles in a HTML document.
            1.  Open Notepad and create the HTML document as shown below.






















            2.  Open the HTML document in Microsoft Edge.



















                                                                                                              93
   90   91   92   93   94   95   96   97   98   99   100