Front-End-HTML-list elements,-HTML-list elements
HTML element classification-list elements
0. <ul> element (unordered list): defines an unordered list.
<Ol> ordered list: defines an ordered list.
<Li> list item: defines the items in the list.
<Ul> <li> Coffee </li> <li> Tea </li> <li> Milk </li> </ul> <! -- Remove the black spots before the list items --> <style> li {list-style-type: none ;}</style>
<ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li></ol>
1. <dl> element (definition list): defines the definition list.
<Dt> definition title: defines the project name (TERM) in the definition list ).
<Dd> element (definition): defines the definition of items in the list, that is, the project name is interpreted.
<Dl> <dt> Computer </dt> <dd> the instrument used for computation ...... </dd> <dt> display </dt> <dd> A device that visually displays information ...... </dd> </dl>
The preceding lists are commonly used. <menu>, <menuitem>, and <command> elements are not listed here because of poor browser compatibility.