Lists
You can organize items into ordered and unordered lists to make a list of items, for example, menu options, supported features, or numbered elements in a screenshot.
In Markdown, to create an ordered list, add items with numbers followed by periods. To create an unordered list, add dashes (-), asterisks (*), or plus signs (+) in front of items. Indent items to create a nested list. To add list attributes, put them in curly braces after an empty line.
In semantic markup, use a <list>
tag to start a list and a <li>
tag to specify list items.
First item.
First indented item.
Second indented item.
Second item.
Third item.
Fourth item.
Some list item
Another list item
Yet another list item
Some indented item
Another indented item
One more item
The list has the following attributes:
- style=[bullet|decimal|alpha-lower|none]
Specify the list type.
Mark list items with bullets when the order is not important.
Some list item
Another list item
Yet another list item
Mark list items with decimal digits (1, 2, 3, and so on) when the order or number of items is important.
First list item
Second list item
Third list item
Mark list items with letters (a, b, c, and so on). For example, if you need another sublevel for the nested list
First item
Second item
Third item
Do not render any markers for list items.
Some list item
Another list item
One more list item
- start
Specify the starting position for a numbered list.
- columns
Use to render the list items in multiple columns (make a horizontal list). Specify the number from 2 to 5.
- sorted
Specify the sorting order for alphabetical and numeral lists.
- id
Specify a unique identifier to use as a link anchor and generate a meaningful URL for this list. You can reference and reuse any element that has an ID.
- filter
Define a set of custom filters for conditionally including this list.
- instance
Define a set of instances for conditionally filtering this list.
- switcher-key
Make this list switchable depending on the selected key.