Page 76 - TP_Play_V2.2_Class8
P. 76
Take Off Century #Information Literacy
21 st
Skills
Name any two attributes of the following tags:
1. <A>
2. <BODY>
3. <FONT>
4. <IMG>
We have seen various types of forms, such as a registration form, login form, and feedback form on
different websites. These forms are created by using HTML5. Generally, a form is a collection of different
types of fields to take as input from a user. It replaces the paper-based forms used earlier. Nowadays,
most schools, universities and other commercial organisations use online forms to submit or accept
information. These forms incorporate different types of fields, such as text boxes, check boxes, radio
buttons, drop-down menus, and password, etc. to collect different types of information.
WHAT IS A FORM IN HTML5?
HTML5 form is an interface of a web page that enables the user to enter data (such as names, e-mail
addresses, passwords, phone numbers, etc.) that is to be sent to the server for further processing.
While writing codes, there are various form elements that help in designing a form like textboxes, radio
buttons, drop-down menus, checkboxes, passwords, lists, comboboxes, etc. Every form must begin with
a <FORM> tag, which can be typed inside the body of the HTML5 document.
THE <FORM> TAG
The <FORM> tag is used to create the form boundary on the web page. It is a container tag. All
other form related tags are used inside the opening <FORM> and closing </FORM> tags. The syntax
to use the <FORM> tag is as follows:
<FORM>
...
...
(Form Elements)
...
...
</FORM>
Some commonly used attributes of the <FORM> tag are:
ACTION: This attribute is used to specify the action that will take place when we submit the form
values. It takes the URL of another web page or an e-mail address to receive the information.
74 Plus (Ver. 4.0)-VIII

