CBSE SOLUTIONS-2025-26
CLASS-8
CHAPTER-6 Lists and Tables in HTML
Q-A Multiple choice questions:
Q1. Unordered list is also known as _____ list.
A. Bulleted
B. Multilevel
C. Numbered
D. None of these
Answer: A. Bulleted
Q2. We can specify the space between the border and content in a table by using _____ property.
A. Padding
B. Height
C. Width
D. Table layout
Answer: A. Padding
Q3. Which of the following is an _____ tag?
A. OL tag
B. UL tag
C. LI tag
D. Table tag
Answer: C. <LI> tag
Q4. The _____ tag marks the definition terms in a description list.
A. BD tag
B. DT tag
C. DL tag
D. None of these
Answer: B. DT tag
Q5. The default numbering style of an ordered list is _____.
A. I
B. A
C. i
D. 1
Answer: D. 1
Q-B Write true or false statement:
Q1. A description list consists of two tags.
Answer: False
Q2. Each item in the list is marked using the <li> tag.
Answer: True
Q3. To specify a column heading, we use the <th> tag.
Answer: True
Q4. The list-style-position property is used to specify an image as the list item marker.
Answer: False
Q5. By default, the horizontal alignment is set to middle for <th> tag.
Answer: False
Q. C Fill in the blanks:
Q1. The _____ attribute specifies the type of bullet to be used for each list item.
Answer: type
Q2. The _____ is the shorthand property wherein all the list properties can be specified in one declaration.
Answer: list-style
Q3. The _____ property specifies the placement of a table caption.
Answer: caption-side
Q4. The _____ property specifies the bullet style that will be used as the type of list item marker.
Answer: list-style-type
Q5. We can display the listed items in an ordered and unordered list by using _____ tag.
Answer: <li>
Q-D Answer the following questions:
Q1. What do you mean by the description list?
Answer: A description list is a list that defines terms and their descriptions. It is created using three tags: <dl> (description list), <dt> (defines the term), and <dd> (defines the description of the term).
Q2. What is the difference between ordered and unordered lists?
Answer:
Ordered List (<ol>) – Items are displayed in a specific sequence with numbering (1, 2, 3 / A, B, C / i, ii, iii).
Unordered List (<ul>) – Items are displayed with bullet points (●, ○, ■) without sequence.
Q3. Explain the table layout property of the table.
Answer: The table-layout property specifies the algorithm used to arrange table cells, rows, and columns.
Auto → Table size depends on the content (default).
Fixed → Table size is fixed based on column widths, regardless of content.
Q4. What is the use of type attribute of the <ol> tag?
Answer: The type attribute of the <ol> tag specifies the numbering style for list items. For example:
Type=”1” → Numbers (1, 2, 3)
Type=”A” → Uppercase letters (A, B, C)
Type=”a” → Lowercase letters (a, b, c)
Type=”I” → Roman uppercase (I, II, III)
Type=”i” → Roman lowercase (i, ii, iii)
Q5. Write the short notes on padding and caption-side properties of the table.
Answer:
Padding: The padding property specifies the space between the cell content and its border inside a table. It improves readability by giving breathing space around text.
Caption-side: The caption-side property specifies the position of the table caption. It can be set to top (default), bottom, left, or right.
No comments:
Post a Comment