Page 152 - Web Applications (803) Class 11
P. 152

<head>
                     <title> FIRST WEB PAGE </title>

                     </head>
                                                                          1
                     <body>
                     Let's explore the wonderful world of HTML
                     </body>

                     </html>
              Step 2:  Click on File menu.

              Step 3:  Click on Save to open Save As dialog box.
              Step 4:  Choose the location where you want to save the file. In this case, Desktop is selected.
              Step 5:  Enter name for the file as ‘First Web Page.html’.
              Step 6:  Click on Save button to save the file.




                     2
                                                                        4

                     3
                                                                                                        6
                                                                        5




              Viewing a Web Page

              After  creating  and  saving  an  HTML  document,  you
              need  to  open  it  into  a  web  browser  to  view  it.  To
              open a HTML document into web browser, perform
              the following steps:
              Step 1:   Open the folder in which you have saved the
                     HTML document.
              Step 2:  Locate the file and double-click it. Web page opens in your default web browser window.
              Now, let  us understand the various tags.

                                       Tag                                             Description

               <html> </html>                                      Tell the browser that it is an HTML document.
               <head>    </head>                                   Defines the header section of the webpage

               <title>     </title>                                Specifies the title of the webpage.

               <body>    </body>                                   Defines the document’s body.

               <p>          </p>                                   Indicates a paragraph.
               <h1> to <h6>        </h1> to </h6>                  Indicates first to sixth heading levels.

               <br>                                                Gives a single line break.



                150     Touchpad Web Applications-XI
   147   148   149   150   151   152   153   154   155   156   157