Page 14 - KEC Khaitan C7 Flipbook
P. 14

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.

                  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.













                       PURE        On August 06, 1991, the first ever website named info.cern.ch was published by

                       FACT        Tim Berners-Lee at CERN in Switzerland.



                  Now that you know how to create an HTML document and view it in the browser, let us explore
                  some of the tags that can be used to align and style the page content in the body section.



                   12   Premium Edition-VII
   9   10   11   12   13   14   15   16   17   18   19