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

Chapter 2 Part II

Uploaded by

gyandeepgautom44
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)
44 views2 pages

Chapter 2 Part II

Uploaded by

gyandeepgautom44
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 2

HTML and CSS3


Part-II List, Tables and Images

I. Fill in the Blanks:


1. DISC
2. REVERSED
3. NESTED
4. List
5. CELLPADDING
6. empty
7. src
8. BORDER

II. Multiple Choice Questions:


1. <li>
2. <Dl>
3. Ellipse
4. Start
5. <tr>
6. border-collapse : collapse
7. All of these
8. <img src = “image.gif”>
9. source
10. addition of alternative text about an image.

III. Application Based Questions:

a. Ruchika can use the TYPE attribute of <OL> tag to change it from numbers to Roman numerals.
Syntax : <OL TYPE = I> or <OL TYPE = i>

b. Rohan can use the border-collapse : collapse property to make the table border into a single border.
Syntax : <style type = “text/css”>
table, th, td
{
Border : 2px solid blue;
Border-collapse : collapse;
}
</style>

c. To accomplish the task Ashmita can use the ALT attribute of <img> tag so that the visually imapaired
people or users get the description for the images.
Syntax: <img src = “Location of image” alt=”alternate description”>

IV. Answer the following :

Ans: a) <ol> stands for Ordered list which is used to create a list in which items are in specific order. It is an
container tag. Its attributes are REVERSED, TYPE and START. By default its TYPE value is number
Whereas <ul> stands for unordered list and it is used to create a list in which items are not in
specific order. It is also a container tag. Its attribute is TYPE where DISC is default value.

Ans: b) Syntax:
style=”list-style-type : value”
eg: <ul style = “list-style-type : square”>

Ans: c) The padding property specifies the space between the table cell’s border and the content in a table.

Ans d) A Description list also called Definition List is a list of items, with a description of each item. It is a
Container tag.
Different tags used to create a description are:
<dl>…..</dl> - Definition List
<dt>…..</dt>- Definition list item
<dd>….</dd> - Definition list description

Ans e) The use of type attribute in unordered list is to specifies what kind of bullet is used to list the items.
Values of type attribute in <ul> tag are : DISC, SQUARE, CIRCLE.

Ans f) the any two properties that we can use to enhance the appearance of a table are :
i. BORDER-PROPERTY : to specify the thickness, type and color of the border also to specify rounded
borders to an element.
ii. BORDER-COLLAPSE : to apply separate border for each cell or single border for each cell.

Ans g) To add an Image in an HTML document we can use the <img> tag along with ‘src’ attribute to specify
the path or location of the image. It is an empty tag that means no off tag.
Syntax : <img src=”location\image_name.jpg”>
The mostly supported image formats by HTML are GIF, JPEG, PNG.

You might also like