TAILIEUCHUNG - Tự học HTML và CSS trong 1 giờ - part 12

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 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 . 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 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 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

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.