Type: | Lists |
---|---|
Attributes: | marker-font-family • marker-font-style • marker-font-weight • marker-hierarchy-separator • marker-hierarchy • marker-offset • marker-suffix • marker-type • align • background-color • background-image-dpi • background-image-position • background-image • background-pdf • border-color • border-style • border-width • border • clear • corner-radius • display • float • font-size • height • href • left • line-cap • line-height • line-join • margin • onmouseover • overflow • padding • page-break-after • page-break-inside • position • rotate • size • top • vertical-align • visibility • white-space • width • class • colorspace • direction • id • lang |
See: | li ol |
The ul tag displays a bulleted, or unordered, list. You can use the tag's marker-STYLE attribute to change the bullet style from the default of "disc". Use the li tag to designate the individual list items in the list.
The "type" attribute used in HTML is not supported. Instead, use the marker-STYLE attribute to set the style of bullet.
<ul marker-style="disc"> <li>Element 1</li> <li>Element 2</li> <li>Element 3</li> </ul>