Page 83 - 2611_SmartGPT Pro V(5.0) C-6
P. 83

CREATING AND SAVING AN HTML DOCUMENT


                 To create an HTML document, open a text editor (here, we have used Notepad) and type the code.





















                 To save an HTML document, follow the given steps:


                      1  Click on the File menu.








                                                                                                3  Type a name
                                                                                                for the webpage.
                                                                                                Make sure you add
                                                                                                the .html or .htm
                                                                                                extension to the
                                                                                                webpage name.




                       2  Click on the Save as option.             4  Click on the Save button.





                           DISPLAYING A WEBPAGE IN A WEB BROWSER

                 After creating and saving an HTML document, we can view it in a web browser. In this example,
                 we are using Microsoft Edge.

                 To  view a  webpage  in a  web  browser:  Open the  folder  in  which you  have saved  the
                 HTML  document.  Locate  the  file and double-click it.  The webpage  opens  in your  default  web
                 browser window.












                                                                                            Learn HTML5 and CSS3  81
   78   79   80   81   82   83   84   85   86   87   88