CSS счетчик
<style>
body {
counter-reset: ctr;
}
div.fruit::before {
counter-increment: ctr;
content: counter(ctr) ".) ";
}
</style>
<div class="fruit">Apple</div>
<div class="fruit">Banana</div>
<div class="fruit">Orange</div>
Syntax Error