Page 164 - Digicode_AI_class_7
P. 164

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


            Creating and Saving an HTML Document

            Let us start with the designing of first web page by using the basic tags.


                   1   Open  the  Notepad  and
                   write the HTML code.                2  Click on File menu.     3   Click on  Save  to  open
                                                                                  Save As dialog box.


























              4  Choose the location
              where  you  want  to
              save the file.




              5   Enter  name  for
              the file as ‘First Web                                                            6  Click on Save
              Page.html’.                                                                       button  to  save
                                                                                                the file.



            Viewing a Web Page
            After creating and saving an HTML document, you need to open it into a web browser to view it.

            To open an HTML document into web browser, open the folder in which you have saved the HTML
            document and double-click it. Web page opens in your default web browser window.












                162    DigiCode AI-VII
   159   160   161   162   163   164   165   166