List style type

noun

say it: “LIST STYLE TYPE” /lɪst staɪl taɪp/ or “LIST STYLE TYP” /lɪst staɪl taɪp/

The CSS property that picks the marker in front of each item of a list: round or square bullets, numbers, letters, roman numerals, characters of your own in quotes, or none.

What does list-style-type do?

list-style-type picks the marker: disc (a dot, the default for <ul>), circle, square, decimal (the default for <ol>), lower-alpha, upper-roman and more. none removes the markers, which is usual for a navigation menu built from a list.

.ingredients { list-style-type: square; }
.steps { list-style-type: decimal; }
nav ul { list-style-type: none; }

In a sentence

  • “A list-style-type of "✓ " puts a checkmark in front of each thing on the packing list.”
  • “The contest rules use list-style-type: upper-roman, so they're numbered I, II and III.”

Level: Novice · More CSS terms at this level

Updated