➢ A frame divides the screen into separate windows with both vertical and horizontal scroll bars.
➢ The windows so formed may appear to be sub-windows of the main window (the webpage). This allows the user to access different pages of a website from one screen if designed to do so. Frames are needed when you want to have menus on one side and the contents or the operations on the other side. When the user clicks on one of the menu items, the contents become visible on the other side.
➢ A frame divides the webpage into different windows. It makes some structural changes to the main window. Hence, it is not written inside the body element, but it forms its own element, called the FRAMESET, outside the head section of HTML document. A FRAMESET element is the parent element that defines the characteristics of individual frame pages.
➢ The attributes used with the FRAMESET element are given in the table below:
➢ To create an HTML document with the FRAMESET element as shown below:
➢ In HTML, a form is a window that consists of the elements of a form called the form fields. These fields may be text field, text area, drop-down box, radio buttons, checkbox and/or a command button. HTML forms are used to pass data to a server. A form can be inserted in HTML documents using the HTML form element which acts as a container for all the input elements. All the information collected by a form can be submitted to a processing agent (a file containing a script made to process this information) that’s usually specified in the “action” attribute of the Form tag.
➢ The FORM tag has two important attributes:-
➢ Controls
➢ The devices that allow input of data onto a form are called the controls
➢ These include:
➢ The INPUT Tag
➢ Checkboxes
➢ Radio Boxes
➢ Text Boxes
➢ Passwords
➢ Buttons
➢ Image Buttons
➢ Hidden Control
➢ Text Areas
➢ Menus
➢ Labels
➢ Fieldsets
11 videos|49 docs|18 tests
|
1. What is the difference between frames and forms in HTML? |
2. How do frames work in HTML? |
3. What are the advantages of using frames in web design? |
4. How do forms work in HTML? |
5. What are some common form validation techniques in HTML? |
|
Explore Courses for Class 10 exam
|