Chapter 4: Lists and Tables in HTML5
Checkpoint (Pg. 62)
Fill in the blanks.
1. unordered
2. ordered
3. start
Exercises (Pgs. 71-73)
A. Tick (✓) the correct answers.
1. b
2. a
3. c
4. b
5. a
B. Fill in the blanks.
1. unordered
2. ordered
3. start
4. row
5. title
C. Write T for True and F for False.
1. F
2. T
3. F
4. F
5. T
A. Answer the following questions in short .
Q.1 What is HTML ?
Ans:- HTML (HyperText Markup Language) is the standard language used to create and structure content on web pages and applications.
Q.2 Who developed HTML ?
Ans:- HTML was developed by Tim- Berners-Lee
Q.3 What is extension and stands for HTML ?
Ans:- HTML stands for Hyper Text Markup Language . Its extension is ".html".
Q.4 What is list ?
Ans:- A list is a group of related items or elements that are organised in a specific order .
B. Answer the following in long .
Q.1 Explain about ordered list and unordered list ?
Ans:- Ordered List :- An ordered list is a type of list in which the sequence of items is important.This kind of list is commonly used when the order of elements matters, such as in instructions, rankings, or a series of events.The list is opened and closed with the<ol> and </ol> tag.
Unordered List :-An unordered list is used when the order of the items doesn’t matter, each item in an unordered list is marked with a bullet point.This type of list is created using the <ul> tag.
Q.2 What is the role of type attribute in an ordered list ?
Ans:- The type attribute is used to define the style of the numbering or lettering for the ordered list items. You can choose from the following options:
• “1” - Creates an ordered list with numbers. This is the default numbering style for ordered lists.
For example, 1, 2, 3, etc.
• “a” - Creates an ordered list with lowercase letters. For example, a, b, c, etc.
• “A” - Creates an ordered list with uppercase letters. For example, A, B, C, etc.
• “i” - Creates an ordered list with lowercase Roman numerals. For example, i, ii, iii, etc.
• “I” - Creates an ordered list with uppercase Roman numerals. For example, I, II, III, etc.
Q.3 Explain how to customise bullet points in an unordered list using CSS.
Ans:- To customise bullet points in an unordered list using CSS, you can modify the default appearance of the bullets by targeting the list-style-type, list-style-image, or other related properties in CSS.
1. Change Bullet Style Using list-style-type
You can change the type of bullet points (such as changing them from the default solid circle to squares or other symbols) using the list-style-type property.
<ul style=”list-style-type:square”>
Some common values for list-style-type are:
• disc (default, solid circle)
• circle (hollow circle)
• square (square)
• none (removes the bullet)
Q.4 What do you understand by description list ?
Ans:- A description list is flexible enough to hold multiple descriptions for each term. By repeating the <dd> tag under the same <dt> , you can provide more detailed explanations or even different definitions for the same term . It is also know as definition list .