051-list-decoration.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>051 list styles and text decoration</title>
  6. <style>
  7. body { background: #ffffff; color: #202020; font-family: sans-serif;
  8. margin: 12px; font-size: 18px; }
  9. .row { display: flex; gap: 24px; }
  10. .row > div { flex-grow: 1; }
  11. ul, ol { margin: 0 0 12px 0; padding-left: 28px; }
  12. .disc { list-style-type: disc; }
  13. .circle { list-style-type: circle; }
  14. .square { list-style-type: square; }
  15. .none { list-style-type: none; }
  16. .alpha { list-style-type: lower-alpha; }
  17. .ualpha { list-style-type: upper-alpha; }
  18. .roman { list-style-type: lower-roman; }
  19. .uroman { list-style-type: upper-roman; }
  20. .strike { text-decoration: line-through; }
  21. .over { text-decoration: overline; }
  22. .both { text-decoration: underline line-through overline; }
  23. </style>
  24. </head>
  25. <body>
  26. <h1>051 &mdash; list styles and text decoration</h1>
  27. <div class="row">
  28. <div>
  29. <ul class="disc"><li>disc one</li><li>disc two</li></ul>
  30. <ul class="circle"><li>circle one</li><li>circle two</li></ul>
  31. <ul class="square"><li>square one</li><li>square two</li></ul>
  32. <ul class="none"><li>no marker one</li><li>no marker two</li></ul>
  33. </div>
  34. <div>
  35. <ol><li>decimal one</li><li>decimal two</li></ol>
  36. <ol class="alpha"><li>lower alpha</li><li>lower alpha</li></ol>
  37. <ol class="ualpha"><li>upper alpha</li><li>upper alpha</li></ol>
  38. <ol class="roman"><li>lower roman</li><li>lower roman</li><li>lower roman</li></ol>
  39. <ol class="uroman"><li>upper roman</li><li>upper roman</li><li>upper roman</li></ol>
  40. </div>
  41. </div>
  42. <p><span class="strike">struck-through text</span> and
  43. <span class="over">overlined text</span> and
  44. <span class="both">all three lines</span> and <s>the s tag</s>.</p>
  45. <div style="background: #c8f0c8; color: #000000; padding: 8px; font-size: 18px;">
  46. LIST/DECORATION: check the marker shapes and the three lines above.
  47. </div>
  48. </body>
  49. </html>