HTML and CSS for mixed list-style-type values
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
body { padding: 1em; font-family: sans-serif; }
ol,ul { float: left; margin: auto 1.5em; }
</style>
</head>
<body>
<ol>
<li>This</li>
<li style="list-style-type: circle;">is</li>
<li style="list-style-type: lower-roman;">an</li>
<li style="list-style-type: square;">ordered</li>
<li>list</li>
</ol>
<ul>
<li>This</li>
<li style="list-style-type: circle;">is</li>
<li style="list-style-type: decimal;">an</li>
<li style="list-style-type: lower-latin;">UNordered</li>
<li style="list-style-image: url(peace.gif);">list</li>
</ul>
</body>
</html>
Related examples in the same category