List can be nested (lists inside lists). The markers automatically change with each level of nesting:
HTML file: | Displayed by browser: |
---|---|
<ul>
<li>Coffee</li> <li>Tea <ul> <li>Black tea</li> <li>Green tea</li> </ul> </li> <li>Milk</li> </ul> |
|
List items can contain other HTML elements, like images and links, etc.