Nested Lists
Lists can be nested inside each other by placing a new <ul> or <ol> tag inside an <li> element. Browsers automatically indent nested lists and may change the bullet style for each level. You can mix ordered and unordered lists.
Indentation and Accessibility
Keep nesting depth to a maximum of three levels — deeper hierarchies become difficult to read and navigate. Screen readers announce the nesting level (e.g., "list of 3 items, 2 levels deep"), so logical structure matters. Never put block elements like <p> directly inside <ul> without wrapping them in <li>.