0% found this document useful (0 votes)
66 views

Class 8

This document contains a worksheet on HTML forms with multiple choice and open-ended questions about form elements like <input>, <select>, <option>, and attributes such as name, value. Students are asked to identify uses of tags and attributes, find errors in code snippets, and explain the purpose of certain tags to classmates asking about form development.

Uploaded by

vaishnavi arora
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views

Class 8

This document contains a worksheet on HTML forms with multiple choice and open-ended questions about form elements like <input>, <select>, <option>, and attributes such as name, value. Students are asked to identify uses of tags and attributes, find errors in code snippets, and explain the purpose of certain tags to classmates asking about form development.

Uploaded by

vaishnavi arora
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

DELHI PUBLIC SCHOOL, GOMTI NAGAR EXTN.

, LUCKNOW
CLASS:VIII
SUBJECT: COMPUTER SCIENCE
TOPIC: FORMS IN HTML5
MONTH:JULY

Student Name: _____________________ Roll No.: _______Sec:_______ Date: _____________________


Q1)Multiple choice questions:
1)In HTML form the <input type="text"> is used for
A. One line text B. Block of text C. One paragraph D. None of the above

2)Which one of the following is a form element?


A. text box. B. radio button. C. submit button. D. All of the above

3)For creating a drop-down list in HTML forms which element is suitable?


A. <list> B. <select> C. <dropdown> D. All of above

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

You might also like