Page 71 - TP_Pro_V5.1_Class6
P. 71

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.


                                                                21 st
                                                              Century   #Leadership & Responsibility
                                                               Skills
                               “You should always check your code to avoid errors. Make sure your
                               tags have angular brackets and the closing tag includes a slash, and
                               the values of attributes are enclosed in double quotes.”







                           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.



                                                                                            Learn HTML5 and CSS3  69
   66   67   68   69   70   71   72   73   74   75   76