Page 119 - Plus_V2.2_C8_Flipbook
P. 119

Creating a web page using Frame

                 One more similar type of example to show the use of frames but with different settings. Note, the
                 same coffee.html file is used inside the frame for easy reference. You can create any new HTML file
                 and add it as a source for the frame.


                   <!DOCTYPE HTML>
                   <HTML>
                   <HEAD> <TITLE> Creating Web page using Frames </TITLE>
                   </HEAD>
                   <BODY>
                   <P>
                   HTML Frames are used to divide the web browser window into multiple
                   sections where each section can be loaded separately.
                   </P>
                   <IFRAME SRC=coffee.html  HEIGHT="300"  WIDTH="600"  STYLE="border: 4px
                   solid orange">
                   </IFRAME>
                   </BODY>
                   </HTML>



                 Output:























                                  Using frames                                  Another web page in frame



                        FORMS IN HTML5


                 Students, suppose you want to participate in any event. What is the first thing that is done by the
                 organisers? Yes, they register the participants using a form. In this form, they collect your information
                 isn’t it. Forms are a way of collecting user input. The user input is most often sent to the server for
                 processing. HTML5 offers this feature of gathering information using forms.




                                                                                 Links, Frames, and Forms in HTML5  117
   114   115   116   117   118   119   120   121   122   123   124