All technological notes.
[TOC]
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
The CSS list-style-type property is used to define the style of the list item marker.
原点样式
| Value | Description |
|---|---|
| disc | Sets the list item marker to a bullet (default)方框 |
| circle | Sets the list item marker to a circle 圈 |
| square | Sets the list item marker to a square |
| none | The list items will not be marked 无 bullet point |
<!-- style is attribute, value is that followed equal sign -->
<ul style="list-style-type: square;">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
The HTML <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.
可以是数字或字母
| Value | Description |
|---|---|
| type=”1” | The list items will be numbered with numbers (default) |
| type=”A” | The list items will be numbered with uppercase letters |
| type=”a” | The list items will be numbered with lowercase letters |
| type=”I” | The list items will be numbered with uppercase roman numbers |
| type=”i” | The list items will be numbered with lowercase roman numbers |