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

Class 8 Computer Science CHAPTER 3 (Lists and Images in HTML 5)

Class 8 computer

Uploaded by

vidhya.bhokate86
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
250 views

Class 8 Computer Science CHAPTER 3 (Lists and Images in HTML 5)

Class 8 computer

Uploaded by

vidhya.bhokate86
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CLASS 8 COMPUTER SCIENCE

CHAPTER 3
LISTS AND IMAGES IN HTML 5
(** Students are instructed to write the answers of the exercise given here in
their respective computer booklets and also do the homework given in Q 6)

1. FILL IN THE BLANKS


a. Numbered
b. Empty
c. Color
d. Font-family
e. URL
2. STATE TRUE OR FALSE
a. True
b. True
c. False. An unordered list is specified by the <ul> property.
d. False. It can take the value, square.
e. True
3. CHOOSE THE CORRECT OPTIONS
a. (ii) Unordered
b. (iv) All of these
c. (i) list-style-image
d. (iv) Any one of these
e. (i) <img>
f. (i) src
g. (ii) Medium
h. (i) <li>
4. ANSWER THE FOLLOWING
a. Differentiate between ordered and unordered list.
Ans: The differences between ordered and unordered list are:
ORDERED LIST UNORDERED LIST
i. Ordered list is also called i. Unordered list is also
numbered list. called bulleted list.
ii. An ordered list defines a ii. An unordered list defines
list of issues in which the a list where the ordering of
order of items matters. the items is not important.
iii. <ol> tag is used to create iii. <ul> tag is used to create
an ordered list. an unordered list.
iv. Ordering of list of items iv.The list of items can be
can be given by using marked by using bullet,
Arabic numbers, letters or disc, circle, square.
Roman numerals

b. Mention the values that can be assigned to the list-style-type


property of an ordered list.
Ans: The values that can be assigned to the list-style-type property of
an ordered list are:
(i) Decimal (default)
(ii) Lower- roman
(iii) Upper- roman
(iv) Lower- alpha
(v) Upper- alpha
c. Name the tags used for creating ordered and unordered list.
Ans: The tags used for creating ordered and unordered list are:
(i) <ol>….</ol> : This tag is used for creating ordered list
(ii) <ul>….</ul> : This tag is used for creating unordered list
(iii) <li> : This tag is used for defining each item of the list
d. What is the purpose of <dd> tag?
Ans: <dd> tag or the Definition list description tag is used to describe
or give description of a term in a description list.
e. What are the tags used to create a description list?
Ans: The description list tag is used to build a list of definitions.
The tags used for creating a description list are:
(i) <dl> Description list
(ii) <dt> Definition list term
(iii) <dd> Definition list description
f. Which tag is used for inserting an image to be displayed in an HTML
document? Mention any two attributes of this tag.
Ans: The <img> tag or the image tag is used for inserting an image to
be displayed in an HTML document.
Two attributes of the <img> tag are:
(i) src: this attribute specifies the URL of the image
(ii) alt: this attribute specifies an alternate text for an image
g. What are the various ordering styles that can be given to the items
of an ordered list?
Ans: The ordering of a lists in an ordered list can be given using
Arabic numbers, Letters or Roman numerals.
h. What do GIF and PNG stand for?
Ans: The full form of the following are:
(i) GIF: Graphics Interchange Format
(ii) PNG: Portable Network Graphics
5. APPLICATION BASED QUESTIONS:
a. The answers are:
i. <img> tag or image tag
ii. The two attributes of <img> tag are: src and alt
iii. Src attribute of <img> tag is used to specify the URL of the
image.
For eg. <img src = “apple.jpg”>
b. The answers are:
i. The tags that is needed are: <dl>, <dt>, <dd>
ii. The full forms are:
<dl> Description list
<dt> Definition list term
<dd> Definition list description
iii. The two properties: Font-size and color
c. The answers are:
i.Ordered list or numbered list
ii.<ol> tag
iii.The name of the property is list-style-type. The values that can be
assigned are:
Decimal (default)
Lower- roman
Upper- roman
Lower- alpha
Upper- alpha
d. The answer is:
<head>
<title> Creating Ordered List </title>
<style type = “text/css”>
ol {list-style: upper alpha}
</style>
</head>
6. HOMEWORK
Draw the table (attributes of <img> tag) given in Pg 70
******************

You might also like