list-style-type 속성을 사용하면 리스트의 marker 스타일을 지정할 수 있습니다.
<ul> <li style="list-style-type: disc">disc 타입의 리스트 <li style="list-style-type: circle">circle 타입의 리스트 <li style="list-style-type: square">square 타입의 리스트 <li style="list-style-type: none">none 타입의 리스트 </ul> |
- disc 타입의 리스트
- circle 타입의 리스트
- square 타입의 리스트
- none 타입의 리스트
|
순서가 있는 리스트(ol)의 경우는 다음과 같이 marker를 지정할 수 있습니다.
<ol> <li style="list-style-type: decimal">decimal 타입의 리스트 <li style="list-style-type: lower-roman">lower-roman 타입의 리스트 <li style="list-style-type: upper-roman">upper-roman 타입의 리스트 <li style="list-style-type: lower-alpha">lower-alpha 타입의 리스트 <li style="list-style-type: upper-alpha">upper-alpha 타입의 리스트 </ol> |
- decimal 타입의 리스트
- lower-roman 타입의 리스트
- upper-roman 타입의 리스트
- lower-alpha 타입의 리스트
- upper-alpha 타입의 리스트
|