<ul><li>Set up development environment</li><li>Configure database connection</li><li>Deploy to staging server</li></ul>
Note Use unordered lists when the sequence of items does not matter. The default bullet style can be changed or removed with CSS list-style-type.
bullet listunordered listullist items
Ordered List
Syntax
<olstart="n"type="1|a|A|i|I"><li>Item</li></ol>
Example
<ol><li>Preheat oven to 375 degrees</li><li>Mix dry ingredients in a large bowl</li><li>Add wet ingredients and stir until smooth</li><li>Bake for 25 minutes</li></ol>
Note Use start to begin numbering at a specific value, and reversed attribute for countdown order. The type attribute changes markers (1, a, A, i, I).
numbered listordered listolstep listsequence
Nested Lists
Syntax
<ul><li>Parent
<ul><li>Child</li></ul></li></ul>
Example
<ul><li>Frontend
<ul><li>HTML & CSS</li><li>JavaScript</li><li>React</li></ul></li><li>Backend
<ul><li>Node.js</li><li>Python</li></ul></li></ul>
Note The nested list must be placed inside the parent li element, not after it. You can nest ul inside ol and vice versa.
nested listsub listindented listlist inside list
Definition List
Syntax
<dl><dt>Term</dt><dd>Definition</dd></dl>
Example
<dl><dt>Latency</dt><dd>The time delay between a request and its response.</dd><dt>Throughput</dt><dd>The amount of data processed in a given time period.</dd></dl>
Note Ideal for glossaries, metadata key-value pairs, and FAQ sections. A single dt can have multiple dd elements for multiple definitions.
definition listglossarykey value listdl dt ddterm definition
Note Always use thead/tbody for proper structure. Use th for header cells and td for data cells. This helps screen readers navigate the table correctly.
Note The caption element provides an accessible name for the table. It must be the first child of the table element. tfoot contains summary rows like totals.