Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 118 - 2612 Digimind C6
P. 118

    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 WEB PAGE 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.

                       116  Premium Edition-VI

| 113 114 115 116 117 118 119 120 121 122 123 |