CH-2 HTML Lists
CH-2 HTML Lists
ANSWERS
EXERCISE BOT
A. Fill in the blanks.
1. <OL> 2. <DL>
3. Start 4. <OL> or <UL>
5. disc 6. type
B. Write T for true and F for false statements.
1. True 2. False
3. True 4. True
5. True
C. Choose the correct option.
1. Definition description 2. type
3. <UL> 4. <OL>
5. <DL> 6. <body background=”A.jpg”>
7. <H1> 8. active link
9. Definition Term
D. Answer the following questions.
1. The ‘Start’ attribute indicates the starting number for the list. As <UL> tag is used when
you don’t want to display a list in any specific order it does not require the ‘Start’ attribute.
2. a. <DT>: This tag specifies the term in the definition list. DT tag must be used in a DL
tag.
<DD>: This tag displays a definition description in a definition list. This tag must be
used within a DT tag, which is under DL tag.
b. <OL>: This tag is used when you need to display a list of items in a specific order.
The list can begin with a number or a letter. To specify the type of list, <OL> tag has
an at- tribute called TYPE. The value of type attribute can be one of the following:
• ‘A’ for uppercase letters
• ‘a’ for lowercase letters
• ‘I’ for uppercase Roman numerals
• ‘i’ for lowercase Roman numerals
• '1' specifies a sequence of numbers
<UL>: This tag is used when you don’t want to display a list in any specific order. It also
has a ‘type’ attribute to specify about the types of bullets to be displayed in the list. The
default bullet is ‘disc’. The value of type attribute can be one of the following:
• Circle specifies a hollow bullet
• Disc specifies a solid round bullet
• Square specifies a square bullet
13
<FONT COLOR=”VIOLET” SIZE=10>L</FONT>
<FONT COLOR=”INDIGO” SIZE=5>E</FONT>
</H1>
</BODY>
</HTML>
7. a. <TITLE> tag
• <B> tag to make the text bold and <U> tag to underline the text
• TEXT attribute of <Body> tag