Page 105 - iPro_trackGPT_V5_Class6
P. 105

The Italic Tag

                 The Italic tag is written as <i>. This tag is used to give an italic effect to your text. You need to
                 tell the web browser when to start using the italic effect and where to stop using the italic effect.
                 It is also a container tag and used in pairs as <i> and </i>.
                 The <SUP> Tag

                                                                                                           2
                 The <SUP> tag is used to turn the enclosed text into a superscript. For example, E=mc  is coded
                 as  E=mc<sup>2</sup>
                 The <SUB> Tag

                 The <SUB> tag is used to turn the enclosed text into a subscript. For example, H O is coded
                                                                                                         2
                 as  H<sub>2</sub>O

                    EDITING AN EXISTING HTML DOCUMENT

                 Follow these steps to edit an HTML document:



                     1  Right-click
                    on the HTML
                    file.



                     2  Click on
                    the Open
                    with option.



                                                                                                        3  Click on
                                                                                                       Notepad.










                 This will open your HTML document in Notepad so that you can make changes to the file. After
                 making the required changes, you need to save the file by pressing the Ctrl+S keys.
                 If your web page is already opened in a web browser, you need to press the F5 key to see the
                 changes you have made.
                    INTRODUCING CSS3

                 CSS stands for Cascading Style Sheets. It is used for designing or styling a web page. It handles
                 and describes how an HTML web page will be presented on a web browser. It helps save a lot of
                 time, as one design layout can be used to create multiple web pages. The latest version of CSS
                 is CSS 3.
                 CSS  comprises  style  rules  that  are  interpreted  by  the  web  browser  and  then  applied  to  the
                 corresponding elements in HTML web page. Syntax to create a style in CSS is:

                 selector{property1:value1; property2:value2; … …}


                                                                                       HTML—An Introduction      103
   100   101   102   103   104   105   106   107   108   109   110