Page 77 - 2633 Trackpad Pro V5.1 Class 7
P. 77
<STYLE>
Body {Background-Color:Grey}
</STYLE>
</HEAD>
<BODY>
<H1 STYLE = "text-align:center"> Example of double spread containing
inline frames </H1>
<iframe src = "Frame1.html" Height = "200" Width = "200"> </iframe>
<iframe src = "Frame2.html" Height = "200" Width = "200"> </iframe>
</BODY>
</HTML>
To run the provided HTML code successfully, you will need two additional HTML files that the
iframe elements will load. These files are specified by the src attributes in the iframe tags.
Frame1.html: This is the file that will be loaded into the first iframe.
Frame2.html: This is the file that will be loaded into the second iframe.
FORMS IN HTML
HTML forms are used to collect information from the site visitors. Different types of forms can be
created in HTML like sign up/register, application form, feedback form, query form, etc. The three
important components of a form in HTML are: a <FORM> tag, the input controls and buttons.
The <FORM> tag is used to define a form in an HTML document. It is placed within the <BODY>
tag. While designing and building a form, we use different input elements that allow site visitors
to type or select information. These elements can include text fields, radio buttons, checkboxes,
etc. All forms must include a Submit button. When the site visitor fills in the information, then,
it should be sent to the webserver for processing after the Submit button is clicked.
Images, Links and Forms in HTML5 75

