Page 85 - CodePilot V5.0 C8
P. 85
<IFRAME SRC="Robotics.html" STYLE="BORDER:5PX DOTTED GREEN;"
HEIGHT=350PX;
WIDTH=300PX>
</IFRAME>
</BODY>
</HTML>
RAPID RECALL Tick ( ) if you know this.
1. A frame embeds another document within the current HTML document in a
rectangular region.
2. You can also set the target for a link in a frame.
FORMS IN HTML5
A form is an information-gathering tool. When signing up for an email, newsletter or entering
login details, you use HTML forms. You can create a web page with forms that include interactive
controls like text fields, buttons and more for data entry. The collected data is sent to the server
for processing or storage.
THE <FORM> TAG
In HTML5, the <FORM> tag is used to define a form and its attributes are used to determine the
form’s behaviour. Each time you create an HTML form, you must start it by using this tag, nesting
all the related tags inside it. SHORT SIGN
The syntax to use the <FORM> tag is as follows:
To open a new tab in
<FORM> a web browser:
<!-- Form elements --> Ctrl + T
</FORM>
The following table lists the commonly used attributes of <FORM> tag:
Attribute
Name Description Example
ACTION It specifies the Uniform Resource Locator <FORM ACTION=“/action_page.php”>
(URL) that processes the form submission.
METHOD It specifies the HTTP (HyperText Transfer <FORM ACTION=“/action_page.php”
Protocol) method to be used when submitting METHOD=“POST”>
the form data. It can be either GET or POST.
83
Frames and Forms in HTML5

