Page 36 - PortGPT_V2.1_C8_Flipbook
P. 36

3                     HTML Frames and Forms


















                      Let’s surf
                           Frames                                         Creating Forms in HTML






                   Let’s PLug-in


                     Have you seen different sections in any web page? What is the importance of dividing a web page
                     into a web page?
                     ____________________________________________________________________________________

                     ____________________________________________________________________________________


                     ____________________________________________________________________________________






                  In the previous chapter, you have learnt about image, links, marquee, audio and video tags of HTML.
                  In this chapter, you will learn about frames and forms in HTML.



                         FRAMES


                  HTML provides a feature to display more than one web pages on a single screen of the web browser.
                  These web pages are actually displayed using frames. Frames are the different sections or parts of a
                  web page. The <IFRAME> tag of HTML allows you to divide a browser window into many sections or

                  parts. The iframe in HTML stands for Inline Frame. For example,
                            <IFRAME SRC="url" NAME="description">
                  Where, URL is the address of a web page which you want to display in a frame. The <IFRAME> tag
                  provides the following attributes:

                  •  SRC: It is used to specify the URL of the web page which you want to display in the frame.
                  •  HEIGHT: It is used to specify the height of the frame.
                  •  WIDTH: It is used to specify the width of the frame.




                  34    Premium Edition-VIII
   31   32   33   34   35   36   37   38   39   40   41