Different List Item Markers Explain
The list-style-type
property specifies the type of list item marker.
The following example shows some of the available list item markers.
list-style-type
property specifies the type of list item marker.Html Code:
<!DOCTYPE html>
<html>
<head>
<style>
ul.a {list-style-type: circle;}
ul.b {list-style-type: disc;}
ul.c {list-style-type: square;}
ol.d {list-style-type: armenian;}
ol.e {list-style-type: cjk-ideographic;}
ol.f {list-style-type: decimal;}
ol.g {list-style-type: decimal-leading-zero;}
ol.h {list-style-type: georgian;}
ol.i {list-style-type: hebrew;}
ol.j {list-style-type: hiragana;}
ol.k {list-style-type: hiragana-iroha;}
ol.l {list-style-type: katakana;}
ol.m {list-style-type: katakana-iroha;}
ol.n {list-style-type: lower-alpha;}
ol.o {list-style-type: lower-greek;}
ol.p {list-style-type: lower-latin;}
ol.q {list-style-type: lower-roman;}
ol.r {list-style-type: upper-alpha;}
ol.s {list-style-type: upper-latin;}
ol.t {list-style-type: upper-roman;}
ol.u {list-style-type: none;}
ol.v {list-style-type: inherit;}
</style>
</head>
<body>
<ul class="a">
<li>Circle type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
<ul class="b">
<li>Disc type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
<ul class="c">
<li>Square type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
<ol class="d">
<li>Armenian type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="e">
<li>Cjk-ideographic type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="f">
<li>Decimal type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="g">
<li>Decimal-leading-zero type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="h">
<li>Georgian type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="i">
<li>Hebrew type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="j">
<li>Hiragana type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="k">
<li>Hiragana-iroha type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="l">
<li>Katakana type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="m">
<li>Katakana-iroha type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="n">
<li>Lower-alpha type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="o">
<li>Lower-greek type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="p">
<li>Lower-latin type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="q">
<li>Lower-roman type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="r">
<li>Upper-alpha type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="s">
<li>Upper-latin type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="t">
<li>Upper-roman type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="u">
<li>None type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
<ol class="v">
<li>inherit type</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
</body>
</html>
Html Code Result:
- Circle type
- Tea
- Coca Cola
- Disc type
- Tea
- Coca Cola
- Square type
- Tea
- Coca Cola
- Armenian type
- Tea
- Coca Cola
- Cjk-ideographic type
- Tea
- Coca Cola
- Decimal type
- Tea
- Coca Cola
- Decimal-leading-zero type
- Tea
- Coca Cola
- Georgian type
- Tea
- Coca Cola
- Hebrew type
- Tea
- Coca Cola
- Hiragana type
- Tea
- Coca Cola
- Hiragana-iroha type
- Tea
- Coca Cola
- Katakana type
- Tea
- Coca Cola
- Katakana-iroha type
- Tea
- Coca Cola
- Lower-alpha type
- Tea
- Coca Cola
- Lower-greek type
- Tea
- Coca Cola
- Lower-latin type
- Tea
- Coca Cola
- Lower-roman type
- Tea
- Coca Cola
- Upper-alpha type
- Tea
- Coca Cola
- Upper-latin type
- Tea
- Coca Cola
- Upper-roman type
- Tea
- Coca Cola
- None type
- Tea
- Coca Cola
- inherit type
- Tea
- Coca Cola
- Circle type
- Tea
- Coca Cola
- Disc type
- Tea
- Coca Cola
- Square type
- Tea
- Coca Cola
- Armenian type
- Tea
- Coca Cola
- Cjk-ideographic type
- Tea
- Coca Cola
- Decimal type
- Tea
- Coca Cola
- Decimal-leading-zero type
- Tea
- Coca Cola
- Georgian type
- Tea
- Coca Cola
- Hebrew type
- Tea
- Coca Cola
- Hiragana type
- Tea
- Coca Cola
- Hiragana-iroha type
- Tea
- Coca Cola
- Katakana type
- Tea
- Coca Cola
- Katakana-iroha type
- Tea
- Coca Cola
- Lower-alpha type
- Tea
- Coca Cola
- Lower-greek type
- Tea
- Coca Cola
- Lower-latin type
- Tea
- Coca Cola
- Lower-roman type
- Tea
- Coca Cola
- Upper-alpha type
- Tea
- Coca Cola
- Upper-latin type
- Tea
- Coca Cola
- Upper-roman type
- Tea
- Coca Cola
- None type
- Tea
- Coca Cola
- inherit type
- Tea
- Coca Cola
Post a Comment