Home › CSS Tutorial › CSS lists
CSS lists
Change markers and spacing.
list-style-type picks the marker, list-style-position places it, and list-style:none removes it.
Example code
<style>
ul{list-style-type:square}ol{list-style-type:upper-roman}
.n{list-style:none;padding:0}
</style>
<ul><li>Square</li></ul><ol><li>Roman</li></ol><ul class='n'><li>No marker</li></ul>