0% found this document useful (0 votes)
117 views2 pages

Ch-09 (Using Lists, Images and Links) Exercises

This document provides information about using lists, images, and links in HTML. It defines ordered and unordered lists, describes how to add images with the <IMG> tag and important image attributes, and explains how to create internal and external links between webpages using the <A> anchor tag and href attribute. Key elements covered include different list tags (<UL>, <OL>), image tags and attributes (SRC, HEIGHT, WIDTH, ALT), and linking tags and attributes (<A>, href) to connect webpages.

Uploaded by

Muskan Tilokani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views2 pages

Ch-09 (Using Lists, Images and Links) Exercises

This document provides information about using lists, images, and links in HTML. It defines ordered and unordered lists, describes how to add images with the <IMG> tag and important image attributes, and explains how to create internal and external links between webpages using the <A> anchor tag and href attribute. Key elements covered include different list tags (<UL>, <OL>), image tags and attributes (SRC, HEIGHT, WIDTH, ALT), and linking tags and attributes (<A>, href) to connect webpages.

Uploaded by

Muskan Tilokani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ST.

PETERS COLLEGE, AGRA


CLASS: VII
QUESTION BANK [SESSION – 2020 - 21]
CHAPTER – 09 “USING LISTS, IMAGES AND LINKS”
1. Differentiate between <UL> and <OL> tags.
Ans. <UL> Unordered List: This tag is used when the items are not to be displayed in any
particular order. The list can be defined within the <UL> and </UL> tags. This tag adds a bullet
against each item of the list. That’s why this list is also known as Bulleted List.
Syntax: <UL>
<LI>List Item</LI>
..
</UL>
<OL> Ordered List: This tag is used to display the list of items in a specific order. It indents and
gives a number to each item in the list. That’s why this list is also known as Numbered List. The
lists begin and ends with <OL> and </OL> tag respectively.
Syntax: <OL>
<LI>List Item</LI>
..
</OL>

2. What are the different types of lists supported by HTML? Explain each of them briefly.
Ans. The Lists supported by HTML are:
Ordered List, Unordered List & Definition List
We have already defined the Ordered and Unordered List in the previous question.

Definition List:
Syntax: <DL>
<DT>Term
<DD>Data Description</DD>
</DT>
</DL>

3. How images are added in a HTML document? What are the different attributes of Image
element?
Ans. The <IMG> tag is used to add images in a HTML web page. It is an empty tag and requires
different attributes to be specified with it.
Syntax: <IMG SRC=”ABC.jpg”>
The attributes of <IMG> tag are:
SRC: It helps in defining the source of an image.
Height and Width: It specifies the Height and Width of image respectively.
Align: It is used to align a image relative to the surrounding text, according to the specified
value.
ALT: Sometimes the browser does not display the images due to some reasons. In that case,
you can display the alternate text for the images for the description about the image.

4. What is an importance of associating alternate text with an image?


Ans. Sometimes, a browser on the user's computer does not display images due to some
reasons (may be because of slow connection or error in the src attribute). In that case, you can
display the alternate text for the images with the help of alt attribute so as to provide a
description about the images.

5. How can we link webpages in HTML? What are the different types of linking?
Ans. A website consists of a number of web pages that give you access to the related
information. HTML renders a powerful feature of linking these web pages together. This
feature is called Hyperlinking. Using these hyperlinks, one can open any linked web page on
the Internet instantly. When you hover the mouse pointer over a link, it changes into a little
hand.
TYPES OF LINKING
a. Internal Linking b. External Linking
In HTML, the Anchor tag <A> is used to mark the text as a hyperlink, which a user can click to
display the document, anchored to it. Being a container tag, it requires closing tag </A> to
mark the end of the text or images. This tag is generally used to specify the following:
• The text or image that is clicked to activate the link.
• The address that will be opened using the defined link.
You can use these links (hyperlinks) in the following ways :
1. To jump from one section to another within the same web page.
2. To link to another page within the same website.
3. To link to another page or website anywhere in the world.
HREF
HREF is an attribute of <A> Anchor tag, which defines the document to which the link leads.
Syntax: <A href = "value"> CLICK HERE </A>

Fill in the Blanks: (Answers)


1. Bullet and Number 2. Unordered 3. Start 4. Nested 5. Hyperlinking

State True or False: (Answers)


1. False 2. True 3. True 4. True 5. False

Multiple Choice Questions: (Answers)


1. (a) Bulleted 2. (a) Disc 3. (c) Rectangle 4. (c) <IMG> 5. (a) <A>
6. (a) href

You might also like