Page 133 - iPlus_Ver_2.0_class_7
P. 133

The various attributes used with the <FRAME> tag are:

                 •  FRAMEBORDER: This attribute is used to define whether a border is to be created around the
                   frame or not. The value taken by the attribute is 0 in case no border is to be shown and 1 in
                   case a border is to be shown. For example,
                   <FRAME FRAMEBORDER="0">

                 •  NORESIZE: This attribute is used to restrict the user from resizing the frame on the web page.
                   For example,
                   <FRAME NORESIZE>

                 •  SRC: This attribute is used to define the URL or path of the web page which is to be linked to
                   the frame. For example,
                   <FRAME SRC="frames.html">

                 Let us create a web page using the <FRAMESET> and <FRAME> tags.
                 <HTML>

                 <HEAD>
                 <TITLE> Frames </TITLE>

                 </HEAD>
                 <FRAMESET COLS="35%,65%">

                 <FRAME SRC="Home.html">
                 <FRAME SRC="Activities.html">
                 </FRAMESET>

                 </HTML>
                 In the preceding code, we have divided the browser window into two columns. In the left column,
                 the Home page of the ABC Public School website will open. When we click on any hyperlink from
                 the left column, the linked web page will appear in the right column as shown below:























                  i +  CREATING FORMS IN HTML


                 We have seen various types of forms such as registration forms, login forms, and feedback forms
                 on different types of websites. These forms are created by using HTML.


                                                                                                                 131
                                                                                                More on HTML
   128   129   130   131   132   133   134   135   136   137   138