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

Computer Chapter 5 Short and Long Questions

Yoooo

Uploaded by

aaditpuri08
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)
139 views2 pages

Computer Chapter 5 Short and Long Questions

Yoooo

Uploaded by

aaditpuri08
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

Chapter: 5 (List and image in HTML)

1. What is ordered list? What does LI means?


Answer: In an ordered list, the items are added in a specific order and each item is assigned a
number from first to the last in an increasing order. LI stands for list items. The individual items of the
lists
are marked with <LI> tag.
2. Name 2 situations where you can use definition lists?
Answer: Definition list are used when you need to define the list of items and categories of a topic.
3. Why do we insert images in a web page?
Answer: We insert images in a web page to make to make it appealing since they serve to convey the
message in a more presentable manner and thus they are an important component of a web page.
4. What is the use of ALT attribute with image?
Answer: ALT stands for “alternate text”. It is used to display the text specified in it if the web
browser is unable to find the image in the specified location or cannot display the image. When the
image is displayed, the alternate text is not displayed instead when your mouse pointer hover around
the image, the alternate text pops up.

Long Questions:

1. Explain the definition list and its tags?


Answer: A definition list is a list of terms along with the definition or description of
each term.
(i) The<DL>tag defines the description list. A definition list always begins with the tag and ends with
the </DL> tag. (ii) The tag <dt> defines data term. The definition term is tagged as <DT> (iii) The
<dd> tag defines data definition (description).
2. What is the purpose of using type and start attributes in lists?
Answer: The important attributes of the <ul> tag are: (i) TYPE: The type attribute is used to define
the symbol for the bullets. There are three symbols that can be specified through a <ul> tag. (ii) The
start attribute: The start attribute allows starting a list at a value different from 1. The syntax is quite
simple since you only need to write an integer value in this attribute.
3. What are the different types of list you can create in HTML?
Answer: HTML provides tags for creating different types of lists, such as, ordered lists, unordered
lists and definition lists. Ordered List: In an ordered list, the items are added in a specific order
and each item is assigned a number from first to the last in an increasing order.
(ii) Unordered List: An unordered list is a set of related information that does not have any special
order or sequence.
Definition or description Lists: A definition list is a list of terms along with the definition or
description of each term. The list starts with the tag and has two more tags inside it.
4. Explain the <marquee> tag with its attributes using an example.
Answer: Marquee is a moving text on a background that you must have seen while scrolling across a
web page or surfing the Internet. < HTML> < Head> <Title> this is moving text </Title> </Head>
<MARQUEE BGCOLOR=”RED”> Moving Text </MARQUEE> </BODY> </HTML>.
Worksheet: 5

B: define the following:

Answer: 1. The unordered list <UL> is used for creating unordered lists. It lists the items with bullets.

2. JPEG (Joint Photographic Expert Group): JPEG format supports many colours and so they are suitable for
complex images. It is commonly used as .jpg. 3. The SRC attribute of < IMG >tag is used to specify the address
of the image. 4. Nested Ordered lists are ordered lists that contain one or more ordered lists as list elements.

D: Explain the following:

1. HTML lists are used to represent list of information in a well-structured and semantic way. HTML
provides tags for creating different types of lists, such as, ordered lists, unordered lists and definition
lists.
2. Attributes of <OL> Tag The important attributes of the <OL> tag are: • The start attribute: The start
attribute allows to start a list at a value different from 1.

Example: <OL start=”3”> In this example, the list items will start from number 3.

4. The <IMG> tag has the following attributes:

1. The SRC attribute specifies the URL (web address or location) of the image. 2. The WIDTH attribute
specifies the width of the image in pixels. The HEIGHT attribute specifies the height of the image in pixels.
Using the HEIGHT attribute, you can change the height of the image even though the original height of
the image may be different.

You might also like