Page 74 - Plus V4 with Adobe class 8
P. 74
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 forms, login forms, and feedback forms
on different websites. These forms are created by using HTML5. Generally, a form is a collection of
different types of fields to take 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. Different types of fields, such as text boxes, check boxes, radio buttons,
drop-down menus, and password are used to accept 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 to design a form like textboxes, radio
buttons, drop-down menus, checkboxes, passwords, lists, combo boxes, 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>
The <FORM> tag has three attributes, which 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.
72 Plus (Ver. 4.0)-VIII

