HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 15. LISTS AND MENUS 158


ol.a { list-style-type: upper-roman; }
ol.b { list-style-type: lower-alpha; }


  1. ...

  1. ...

A variety of numbering systems are available, including armenian, cjk-
ideographic, decimal, decimal-leading-zero, georgian, hebrew, hiragana, hiragana-
iroha, katakana, katakana-iroha, lower-alpha, lower-greek, lower-latin, lower-
roman, upper-alpha, upper-latin, and upper-roman.


Exam Question 279(p.352):For numbered lists, are there more than 10
numbering systems available?
Required Answer:yes


Exam Question 280(p.352):What CSS list attribute controls the num-
bering system?
Acceptable Answer:list-style-type:


We can make the numbering start someplace other than one.



    Exam Question 281(p.353):For numbered lists, can we specify the start-
    ing value?
    Required Answer:yes


    We can make the numbering count down instead of counting up. By default,
    it will end at 1.



      Exam Question 282 (p.353): For numbered lists, can we count down
      instead of up?
      Required Answer:yes


      15.4 ul: Unordered Lists


      Unordered lists normally have bullets. We can choose which kind. This is
      controlled by the list-style-type attribute.


      ul.a { list-style-type: disc; }
      ul.b { list-style-type: circle; }

Free download pdf