CHAPTER 15. LISTS AND MENUS 157
To some extent, by styling we can make an
- to look like a
- tag in valid HTML5, is a
separate closing tag required, optional, or forbidden?
Required Answer:optional
Exam Question 278(p.352): Can lists be nested (a list inside a list)?
Required Answer:yes
15.3 ol: Ordered Lists
Ordered lists can be numbered in any of several ways. This is controlled by
the list-style-type attribute.
- and
vice versa.
15.2 Vertical Indented Lists
By default, lists are naturally vertical, from top to bottom. In section 15.6
(page 159) we will tell how to make horizontal lists. Sub-lists are indented
within the overall list.
List items generally begin with a number or abullet. The content of the
list item is indented and the bullet hangs out to the left.
Sub-lists are very common, and are indented another level beyond the outer
list. We can have lists of lists of lists, to as many levels as we want.
Exam Question 272(p.352):The HTML tag “ol” stands for what word(s)?
Acceptable Answer:ordered list
Exam Question 273(p.352): For each
- tag in valid HTML5, is a
separate closing tag required, optional, or forbidden?
Required Answer:required
Exam Question 274(p.352):The HTML tag “ul” stands for what word(s)?
Acceptable Answer:unordered list
Exam Question 275(p.352): For each
- tag in valid HTML5, is a
separate closing tag required, optional, or forbidden?
Required Answer:required
Exam Question 276(p.352):The HTML tag “li” stands for what word(s)?
Acceptable Answer:list item
Exam Question 277(p.352): For each