Computer Science
Class-VIII
Chapter-3 HTML Document
Section-I
A. Answer these questions:
1. What are tags?
Answer: Tags are commands used in HTML.
2. How are lists useful?
Answer: Lists are useful in organizing information.
3. How do you change bullet style in an unordered list?
Answer: In unordered list use type attribute to change bullet style.
B. Tick the correct option:
1. Most tags work in:
a. pairs b. single c. numbers d. none of these
Answer: Pairs
2. Ordered list is also called:
a. multiplicative list b. open list c. numbered list d. none of these
Answer: Numbered list
3. You can customize the ordered lists by using tag:
a. attributes b. colors c. papers d. none of these
Answer: Attributes
Section-2
A. Fill in the blanks:
1. ____ tag is used to create a list of certain items in a specific order.
Answer: <OL>
2. The three types of bullets that can be displayed in an unordered list are __________ and _________.
Answer: Disc, circle, square
3. To make a list with numbers we use the _____ tag where as to get a list with bullets we use the _____ tag.
Answer: <OL>
4. LI stands for ___________.
Answer: List Item
B. State true or false:
1. <OL> tag is used to represent a list in non-specific order.
Answer: F
2. <LI> tag is used to identify an item in any type of list.
Answer: T
3. There is no difference between ordered list and unordered list.
Answer: F
4. An OFF tag has a forward slash (/).
Answer: T
5. Lists are not useful in any way.
Answer: F
C. Difference between the following:
1. ON and OFF tag
Answer: In HTML most tag works in pairs, this means there is an ON (start)tag and OFF (close)tag.
2. Ordered and Unordered list
Answer: Ordered list is also called numbered list. In ordered list each item is numbered to specify the order.
Unordered list is also called bulleted list. In this list each item is not in order.
3. <OL> and <LI> tag
Answer: <OL> tag is used to make ordered list.
<LI> tag is used to specify list item.
4. <OL> and <UL> tag
Answer: <OL> tag is used for making ordered list. <UL> tag is used to make unordered list.
5. List style and List number
Answer: There are two types of list: Ordered list and Unordered list.
List number specify each item in the list.
6. Ordered and Nested list
Answer: Ordered list is also called numbered list. In this list there is not sub list.
Nested list: This is required when a list has a sub list.
D. Answer the following questions:
1. What do you mean by ordered and unordered lists?
Answer: Ordered Lists: Ordered list also called numbered lists, in which each item is numbered to specify the order of its appearance.
Unordered Lists: Unordered list is also called bulleted lists which have a bullet placed against each item to separate it from the rest.
2. What does <LI> tag create when used in an unordered list?
Answer: In an unordered list <LI> tag is used to create bullets placed before each item in the list.
3. Can you change the style of numbers in an ordered list? If yes, why?
Answer: Yes we can change the style of numbers in an ordered list. To change style of number we can use start attribute.
4. How do you insert an ordered list?
Answer: The syntax for adding an ordered list is as follows:
<OL>
<LI>..... item 1
<LI>..... item 2
....................
</OL>
5. How do you specify starting number in a list?
Answer: The starting number in a list can be specified by the use of start attribute.
6. Write about nested lists.
Answer: Nested list is required when a list has sub-list.
Example:
1. Computer
i. Hardware
ii. Software
iii. Memory
No comments:
Post a Comment