Page 80 - TP_Pluse_V2.2_Class_6
P. 80

The <TITLE> Tag

                  The <TITLE> tag tells the web browser that text contained between <TITLE> and </TITLE> is the text that
                  does not form part of the web page. It will be shown on the Title Bar of your web browser. The use of
                  title tag is not mandatory. If you do not want to give title to your web page, you can skip it. Your web

                  browser will show file name and its path as title of your web page.

                       The <BODY> Tag

                   The <BODY> tag tells the web browser that the text contained between <BODY> and </BODY> tags is
                  to be shown on the web page. It is a container tag.


                         CREATING AND SAVING AN HTML DOCUMENT


                  Let us start  by designing the first web page using the basic
                  tags.

                  Step 1:   Open Notepad and write the following HTML code:

                          <!DOCTYPE html>
                          <html>

                          <head>
                              <title> FIRST WEB PAGE </title>
                          </head>                                                         HTML code in Notepad

                          <body>
                          Let's explore the wonderful world of HTML
                          </body>
                          </html>
                  Step 2:  Click on the File menu.
                  Step 3:  Click on Save to open the 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 the Save button to save the file.


















                                     File menu – Save option
                                                             Save As dialog box

                  78    Plus (Ver. 2.2)-VI
   75   76   77   78   79   80   81   82   83   84   85