AdBlock Detected!
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.
CSS List |
There are two components to a CSS list. The first component is the container element tag that indicates the type of list. There are two possible tags for this:
The second component is the list items. They are indicated by the <li> tag. The characteristics of the list items can be modified via the following three CSS properties: These three properties can be combined using the list-style property. Below we show two examples of a list. Example 1: Ordered list CSS Declaration
The following HTML code
renders
In Example 1, we use <ol> to indicate that this is an ordered list. We then use the list-style-type property to show that upper-case Roman numerals are used to indicate the order. Example 2: Unordered list CSS Declaration
The following HTML code
renders
|
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.