Đang chuẩn bị liên kết để tải về tài liệu:
Tự học HTML và CSS trong 1 giờ - part 12

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'tự học html và css trong 1 giờ - part 12', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 86 LESSON 5 Organizing Information with Lists Input h1 The days of the week in French h1 ol style list-style-type upper-roman li Lundi li li Mardi li li Mercredi li li Jeudi li li Vendredi li li Samedi li li Dimanche li ol Output FIGURE 5.2 An ordered list displayed using an alternative numbering style. You can also use the list-style-type property or the type attribute with the li tag changing the numbering type in the middle of the list. When the numbering style is changed in an li tag it affects that item and all entries following it in the list. Using the start attribute you can specify the number or letter with which to start your list. The default starting point is 1 of course. You can change this number by using start. ol start 4 for example would start the list at number 4 whereas ol type a start 3 would start the numbering with c and move through the alphabet from there. The value for the start attribute should always be a decimal number regardless of the numbering style being used. For example you can list the last 6 months of the year and start numbering with the Roman numeral VII. The results appear in Figure 5.3. Input p The Last Six Months of the Year and the Beginning of the Next Year p ol style list-style-type upper-roman start 7 li July li li August li li September li li October li li November li Download from www.wowebook.com Unordered Lists 87 li December li li style list-style-type lower-roman January li ol Output Ann The last Six Months of the Year and the Beginning of the Next Year I he Last Six Months ot the Year and the Beginning ot the Next Year FIGURE 5.3 An ordered list with an alternative numbering style and starting number. VII. July VIII. August IX. September X. October XI. November XII. December xiii. Januar As with the type attribute you can change the value of an entry s number at any point in a list. You do so by using the value attribute in the li tag. Assigning a value in an li tag restarts numbering in the list starting with the