Page 49 - ClickGPT V4.0 C-5
P. 49

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





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








                                                           Hintbot

                      Always make sure that you enter ".htm" or ".html" extension with the file name while saving the file.




                 Viewing a Web Page

                 After creating and saving an HTML document, you need to open it in a web browser to view it. To open
                 an HTML document in a web browser, open the folder in which you have saved the HTML document
                 and double-click it. The web page opens in your default web browser window.















                 HTML provides various tags such as <!DOCTYPE html>, <HTML>, <HEAD>, <TITLE>, <BODY>, and many
                 more. Let us discuss some tags in detail.

                 The <!DOCTYPE html> Tag

                 The <!DOCTYPE html> is not an element in HTML. It is a document type declaration that tells the browser
                 about the version of HTML. It is not case-sensitive which means you can write it into uppercase or
                 lowercase.

                 The <HTML> Tag


                 The <html> tag tells the web browser that the text contained between <html> and </html> is a web
                 page and can be viewed using a web browser (Google Chrome, Microsoft Edge, Mozilla Firefox etc.).
                 Every web page coding must start with the <html> tag and end with the </html> tag.





                                                                                    Introduction to HTML5 & CSS3    47
   44   45   46   47   48   49   50   51   52   53   54