Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (1 vote)
3K views

Class 8 Forms in HTML

This document contains a worksheet for students on forms in HTML5, with questions about tags like <SELECT>, <OPTION>, <INPUT>, attributes like NAME, TYPE, VALUE, and examples of code for a login form. Students are asked to identify errors in code snippets, explain the uses of tags and attributes, and write code for a login form with a green background color and a linked button.

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 (1 vote)
3K views

Class 8 Forms in HTML

This document contains a worksheet for students on forms in HTML5, with questions about tags like <SELECT>, <OPTION>, <INPUT>, attributes like NAME, TYPE, VALUE, and examples of code for a login form. Students are asked to identify errors in code snippets, explain the uses of tags and attributes, and write code for a login form with a green background color and a linked button.

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)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.
Q2) Give the use of the following tags/attributes:
a) ENCTYPE:_______________________________________________________________________
________________________________________________________________________________
_
b) METHOD:
________________________________________________________________________________
________________________________________________________________________________
__
c) RESET:
________________________________________________________________________________
________________________________________________________________________________
__
d) PASSWORD:
________________________________________________________________________________
________________________________________________________________________________
__
e) VALUE:
________________________________________________________________________________
________________________________________________________________________________
__
Q3) 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
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
________________________________________________________________________________
________________________________________________________________________________
__
Q4) 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