What is the style of the css list besides ul
This article mainly explains "what styles css list has besides ul". the explanation content in this article is simple and clear, easy to learn and understand. please follow the idea of Xiaobian and go deep into it slowly to study and learn "what styles css list has besides ul" together!
In addition to ul (unordered list) style, css list also has: 1. Ordered list style, using "label definition, each list item is defined with" label;2. Custom list style, using "label definition, each custom list item is defined with" label.
Operating environment of this tutorial: Windows 7 system, CSS3 && HTML5 version, Dell G3 computer.
CSS lists come in three styles:
ul disordered list
ol Ordered List
dl Custom List
So css lists have ul (unordered list) styles, ol ordered list styles and dl custom list styles.
ordered list
An ordered list is a list of items that are labeled with numbers. Ordered lists begin with labels, and each list item begins with a label.
List items are labeled with numbers by default.
First list item Second list item Third list item
The style of a list item can be set using the list-style-type attribute, which sets the type of list item tag.
decimal-leading-zero Numeric marker beginning with 0. (01, 02, 03, etc.)
lower-roman lowercase Roman numerals (i, ii, iii, iv, v, etc.)
upper-roman capital Roman numerals (I, II, III, IV, V, etc.)
The marker is lower-alpha (a, b, c, d, e, etc.)
The marker is upper-alpha (A, B, C, D, E, etc.)
lower-greek lowercase Greek letters (alpha, beta, gamma, etc.)
lower-Latin letters (a, b, c, d, e, etc.)
upper-Latin capital letters (A, B, C, D, E, etc.)
Hebrew Traditional Hebrew numbering
Armenian Traditional Armenian Numbering
Georgian Traditional Georgian numbering (an, ban, gan, etc.)
cjk-ideographic Simple ideographic number
Hiragana markers are: a, i, u, e, o, ka, ki, etc. (Japanese Hiragana characters)
Katakana markers are: A, I, U, E, O, KA, KI, etc. (Japanese Katakana characters)
Hiragana-iroha markers are: i, ro, ha, ni, ho, he, to, etc. (Japanese Hiragana serial number)
katakana-iroha markers are: I, RO, HA, NI, HO, HE, TO, etc. (Japanese Katakana serial number)
ol{ list-style-type:lower-roman;}
custom list
A custom list is not just a list of items, but a combination of items and their comments.
Custom lists begin with labels. Each custom list item begins with. The definition of each custom list item begins with.
Coffee Black Hot Milk White Cold
Thank you for reading, the above is "css list in addition to ul what style" content, after the study of this article, I believe that we have a deeper understanding of the css list in addition to ul what style this problem, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!