Class 8
Class 8
, LUCKNOW
CLASS:VIII
SUBJECT: COMPUTER SCIENCE
TOPIC: FORMS IN HTML5
MONTH:JULY
4)Which of the following is not the form type for adding text?
A. Text area B. Text input C. Submit button D. Password input
Q2)Answer the following questions in words:
a) This tag with <OPTION> tag allows us to create a drop-down list.
b) This attribute is used to specify the identity of the field on the web page.
c) This attribute is used to specify the default value of the field.
d) It is used when the user has to make a selection among multiple choices or option.
e) This button control is used to select only one option from a set of option.
Q3) Give the use of the following tags/attributes:
a) ENCTYPE:_______________________________________________________________________
________________________________________________________________________________
_
b) METHOD:
________________________________________________________________________________
________________________________________________________________________________
__
c) RESET:
________________________________________________________________________________
________________________________________________________________________________
__
d) PASSWORD:
________________________________________________________________________________
________________________________________________________________________________
__
e) VALUE:
________________________________________________________________________________
________________________________________________________________________________
__
Q4) Find the errors in the following codes:
a) <INPUT VALUE=”BUTTON” TYPE=”LOG IN”>
________________________________________________________________________________
________________________________________________________________________________
__
b) <FORM>
NAME:<INPUT TYPE=”CHECKBOX”><BR>
FATHER NAME :<INPUT TYPE=”CHECKBOX”><BR>
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
c) <FORM>
SELECT STREAM:
<SELECT NAME=OPTION
<OPTION> SCIENCE
<OPTION> COMMERCE
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
Q5) Answer the following questions:
a) Oliver is asked to make the form but he doesn’t know the use of <TEXT AREA>tag explain him the
use of the tag with the help of syntax.
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
b) John is asked what is <input > tag and its attribute assume yourself as john and answer the question.
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
c) Create a login form and write its code with following points:
Background color should be green
Add link to button also