A detailed explanation of the use of List-style attributes in CSS

Source: Internet
Author: User
List-style-type--Define list styles

Value: Disc | Circle | Square | decimal | Decimal-leading-zero | Lower-roman | Upper-roman | Lower-greek | Lower-latin | Upper-latin | Armenian | Georgian | Lower-alpha | Upper-alpha | none | Inherit

Disc: Dot

Circle: Circle

Square: Square

Decimal: Numbers

Decimal-leading-zero: decimal number, less than two bits of the completion leading 0, for example: 01, 02, 03, ..., 98, 99

Lower-roman: Lowercase roman text, for example: I, II, III, IV, V, ...

Upper-roman: Uppercase Roman text, for example: I, II, III, IV, V, ...

Lower-greek: Lowercase Greek letters, for example: Alpha, Beta (beta), gamma (gamma), ...

Lower-latin: lowercase Latin, for example: A, B, C, ... Z

Upper-latin: Uppercase Latin, for example: A, B, C, ... Z

Armenian: Armenian numerals

Georgian: Georgia numbers, for example: An, Ban, gan, ..., he, Tan, in, In-an, ...

Lower-alpha: lowercase Latin, for example: A, B, C, ... Z

Upper-alpha: Uppercase Latin, for example: A, B, C, ... Z

None: None (cancels all list styles)

Inherit: Inheritance

Citation URL: http://www.dreamdu.com/css/property_list-style-type/

Initial value: Disc

Inheritance: Yes

Applies to: All elements belonging to the list

List, the Chinese "listing" means. Style, Chinese "style" means. Type, Chinese "type" means.

Example

ul {list-style-type:disc;} ul#circle{list-style-type:circle;} ul#square{List-style-type:square;} ul#decimal{List-style-type:decimal;} ul#decimal-leading-zero{List-style-type:decimal-leading-zero;} ul#lower-roman{List-style-type:lower-roman;} ul#upper-roman{List-style-type:upper-roman;} ul#lower-greek{List-style-type:lower-greek;} ul#lower-latin{List-style-type:lower-latin;} ul#upper-latin{List-style-type:upper-latin;} ul#armenian{List-style-type:armenian;} ul#georgian{List-style-type:georgian;} ul#lower-alpha{List-style-type:lower-alpha;} ul#upper-alpha{List-style-type:upper-alpha;} ul#none{List-style-type:none;} OL {List-style-type:lower-roman;} 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.