1
Heritage International school
Learning@home
Subject: Computer
CHAPTER-9
Using Lists And Tables In HTML 5
Exercises.
A.Fill in the blanks:
1) A List is the most efficient way of presenting information in a precise manner.
2) An Unordered list indents each item in the list and adds a bullet against each item.
3) The Border-spacing property is used to specify the distance between the borders of the
adjacent cells in a table.
4) The Reversed attribute of <ol>tag puts the list in the descending order.
5) A Description list is used to present a list of definitions for terms.
B. State True or False:
1) An ordered list automatically starts with the number 0. False
2) The list- style- type property specifies the type of list item marker that will be used
as a bullet. True
3) The <TR> tag must always be present inside the row tag <TD>. False
4) The tag <DT> is used to define the terms or names. True
5) The default value of empty cells property is hide. False
2
D. Multiple choice questions:
1. Unordered list is also known as ___________ list.
= a. Bulleted
2. By default ,the ordered list starts with ___________ .
= b. 1
3. With ____________ property, you can specify the position of the
list -item markers.
= a. List-style-position.
4. In the description list,___________ tag helps in describing each term or name.
= b. <dd>
5. ___________ property helps in specifying the placement of a table caption.
= c. Caption-side.
3
E. Answer the following questions:
Question 1 differentiate between <UL> and <OL> tags.
Answer 1 <UL>tag is used to place an unordered or bulleted list which means that the
items in this list are not placed in a specific order.
Example- circle, disc, squire etc.
Whereas <OL>tag is used to place an ordered or numbered list it means, the items are
placed in the specific order and prefaced with a number.
Example- 123, ABC, i ii iii etc.
Question 2 What are the different types of lists supported by HTML5? Explain each one
of them briefly.
Answer 2 there are three different types of lists supported by HTML5, their names are-
Ordered list:
● An ordered list is used to display the elements in a particular order.
● Ordered list is also known as the numbered list.
Unordered list:
● An unordered list is used to display the elements in not a particular order.
● It doesn't follow any particular order.
Description list:
● A description list is used to display the elements and definitions and values.
● It is also used to present a glossary, list of terms or other names/value lists.
Question 3 what are tables and how are they created in HTML5?
Answer 3 Tables are an attractive way of presenting information in the form of rows and
columns.
Creation of tables in HTML 5 are -
To create a table in HTML ,<table> tag is used. Each table begins with a <table> tag and
ends with </table> tag . Each row in a table begins with the <tr> table row tag and ends
with an optional </tr> tag. Rose must be inside the <table> tag. The columns contain
cells, each of which begins with the <td> table data tag and ends with </td> tag . <td>tag
must always be present inside the row tags <tr> . To specify a column heading, we use
the <th> tag that also ends with <th> tag. It makes the text bold. <caption>tag is used to
specify the title for the table.
Question 4 write short notes on:
a) List-style-image
b) List-style
c) Empty-cells
Answer 4.
a) List-style-image: this property is used to specify an image as the list item marker.
b) List-style: this is the shorthand property where in all the list properties can be
specified in one declaration.
c) Empty-cells: this property helps in specifying whether or not the border and
background are to be placed around empty cells in a table.
Teacher- Mr. Ayush shukla
4
Contact no.-8707083370
Thanks 🙏.