首页htmllist_style_typeCSS Property Value - 如何list-style-type: upper-roman;

CSS Property Value - 如何list-style-type: upper-roman;

我们想知道如何list-style-type: upper-roman;

<!DOCTYPE html>
<html lang="en">
<head>
<title>Example of setting list styles</title>
<style type="text/css">
ul {
  list-style-type: square;
}

ol {
  list-style-type: upper-roman;
}
</style>
</head>
<body>
  <h1>Setting style of bullet point</h1>
  <h2>Unordered List</h2>
  <ul>
    <li>Item 1</li>
    <li>Item 2</li>
    <li>Item 3</li>
  </ul>
  <h2>Ordered List</h2>
  <ol>
    <li>Item 1</li>
    <li>Item 2</li>
    <li>Item 3</li>
  </ol>
</body>
</html>