0% found this document useful (0 votes)
30 views3 pages

Chapter-8 Class VIII

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

Chapter-8 Class VIII

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

Chapter -8 Using Lists and Tables in HTML

Q1.) What are Lists? Name the types of lists in HTML.


Ans. A List is the most efficient way of presenting information in a precise manner. It helps
in making important point’s standout more clearly, and thus grabbing a visitor’s attention.
The types of list that HTML provides are:
1.) Unordered List
2.) Ordered List
3.) Nested List
4.) Description List
Q2.) Differentiate between Unordered List and Ordered List.
Ans
Ordered List Unordered List
<OL> tag is used for creating Ordered <UL> tag is used for creating Unordered
List List
Ordered is also known as numbered list Unordered is known bulleted list.
Ordered List is used to display the list of An Unordered list is used when the
items in a specific order items are not required to be displayed
in any particular sequence.

Q3.) What is significance of Start and Reversed attribute in <OL> tag?


Ans. Start Attribute: Ordered list automatically starts with number 1, but we can also start
the list with a different number with help of start attribute. For Example: start=10, the
ordered list will now start with 10 instead of 1.
Revered Attribute: This specifies that the list order should be in the descending order.
Q4.) What is Nested List? Write the code of the following nested list.

Ans. A nested list is a list inside another list. An ordered and unordered list can be nested
within each other to form a multi-level list.
<html>
<head>
<title>Things to do Today</title>
</head>
<body>
<h1>Things to do Today</h1>
<ol>
<li>Feed Cat
<ul type=circle>
<li>Rinse Bowl
<li>Open Cat food
<li>Mix wet and Dry Food in a bowl
<li>Deliver on a Silver Platter to a Pixel
</ul>
<li>Wash Car
<ul type=circle>
<li>Vacuum Interior
<li>Wash Exterior
<li>Wax Exterior
</ul>
<li>Grocery Shopping
<ul type=circle>
<li>Plan Meals
<li>Clean out Fridge
<li>Make List
<li> Go to Store
</ul>
</ol>
</body>
</html>
Q5.) What is Description List?
Ans. A Description list consists of a term followed by its definition. It starts with <dl> and
ends with </dl> tag. The <dl> tag is used in conjunction with <dt> and <dd> tags where:
 <dt> helps in defining the terms or names
 <dd> helps in descripting each term or name
Q6.) What are tables? Write the advantages of tables.
Ans. Tables are used to arrange the data in a tabular format i.e. Rows and Columns. It is
the flexible and attractive way of presenting the data.
Advantages:
1.) It helps to present data in a comprehensive manner.
2.) Tables help in comparative analysis of data.
3.) Information displayed in tables is easier to read and quicker to evaluate.

Q7.) Write the code to create the given table:

Caption of the table is Company Details at bottom of the table

You might also like