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

Tham khảo tài liệu 'tự học html và css trong 1 giờ - part 13', 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ả | 96 LESSON 5 Organizing Information with Lists TABLE Continued Tag Attribute Use value Resets the numbering in the middle of an ordered ol list. This attribute is deprecated in HTML . dl . dl A glossary or definition list. Items in the list consist of pairs of elements a term and its definition. dt . dt The term part of an item in a glossary list. Closing tag is optional in HTML but required in XHTML . dd . dd The definition part of an item in a glossary list. Closing tag is optional in HTML but required in XHTML . TABLE CSS Properties from Lesson 5 Property Use Values list-style-type Used to specify the bullet style or numbering style for the list. Valid values are disc circle square decimal lower-roman upper-roman lower-alpha upper-alpha and none. list-style-image The image to use in place of the bullets for a list. The value should be the URL of the image. list-style-position Defines the alignment of lines of text in list items after the first. Values are inside and outside. list-style Enables you to set multiple list properties at once list style type list style position and the URL of the bullet style. Workshop You ve learned how to create and customize lists in HTML. In this section you see the answers to some common questions about lists and some exercises that should help you remember the things you ve learned. Q A Q My glossaries came out formatted really strangely The terms are indented farther in than the definitions A Did you mix up the dd and dt tags The dt tag is always used first the definition term and the dd follows the definition . I mix them up all the time. There are too many d tags in glossary lists. Download from Workshop 97 Q Is it possible to change the amount that list items are indented or remove the indentation entirely A Yes the properties used to control list indentation are margin-left and paddingleft. Some browsers use one and some use the other so you need to set both of them to change the .

TÀI LIỆU MỚI ĐĂNG
Đã 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.