This should be achievable with the list-style-type CSS property. Try out this code below, and see if this is working how you would like:

.name-list {
  list-style-type: upper-alpha;
}
<ol class="name-list">
  <li>Bill</li>
  <li>Steve</li>
  <li>William</li>
</ol>
Answer from Jeith on Stack Overflow
๐ŸŒ
W3Schools
w3schools.com โ€บ html โ€บ html_lists_ordered.asp
HTML Ordered Lists
The HTML <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical. An ordered list starts with the <ol> tag.
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ HTML โ€บ Reference โ€บ Elements โ€บ ol
<ol>: The Ordered List element - HTML | MDN
November 7, 2025 - The <ol> HTML element represents an ordered list of items โ€” typically rendered as a numbered list.
Discussions

Ordered lists with HTML type
Declaring the type in HTML only renders all ordered lists with 1,2,3. For example Coffee Java Mocca Tea Milk That should render Roman numerals and then small alphabetical letters. Any advice on how I should go about this? And how will I get my student to do an ORA ... More on discuss.openedx.org
๐ŸŒ discuss.openedx.org
1
0
April 19, 2022
How do I make an ordered list that uses letters instead of numbers?
๐ŸŒ r/Anki
12
4
February 21, 2022
Ordered lists with letters as markers - Meta Stack Exchange
From time to time, I encounter ... of the lists uses numbers (1., 2., 3.) as markers and the other uses letters (a), b), c)), but are not properly formatted (example). I think using different markers makes the post less confusing, but I didn't figure out a way to format it properly, without changing all the markers to numbers. I tried to use HTML
    with ...
More on meta.stackexchange.com
๐ŸŒ meta.stackexchange.com
November 20, 2012
html - Ordered and Nested Lists (Letters and Numbers) - Stack Overflow
You need an ordered list
    which by default will order them by numbers. you can use the type="a" attribute in HTML to change it to lower case letters. Alternatively, you can change it with CSS by adding the following property: list-style-type: lower-alpha;
More on stackoverflow.com
๐ŸŒ stackoverflow.com
๐ŸŒ
W3Schools
w3schools.com โ€บ tags โ€บ att_ol_type.asp
HTML ol type Attribute
โฎ HTML <ol> tag ยท An ordered list with uppercase roman numbers: <ol type="I"> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> Try it Yourself ยป ยท More "Try it Yourself" examples below. The type attribute specifies the kind of marker to use in the list (letters or numbers).
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ html โ€บ html-ordered-lists
HTML Ordered Lists - GeeksforGeeks
July 23, 2025 - To create an ordered list in HTML that uses lowercase letters for the list markers, you can use the type attribute on the <ol> tag and set it to "a".
Find elsewhere
Top answer
1 of 2
6

I wouldn't mind seeing lettered lists as well. I came here to post the same thing, prompted by my edit (edit #3) here: https://stackoverflow.com/posts/5760019/revisions

The OP attempted to use lettered lists, but the formatting was incorrect. I corrected the list formatting but had to change to numbered lists since there was no support for lettered lists.

Of course, this is fairly minor -- in this case (and in the majority of cases, I believe) the list can still be represented in a semantically correct way by using numbers or bullets instead of letters, so it's no big deal. It would be a nice option to have, though.

2 of 2
4

Stack Exchange uses the CommonMark markdown parser. It switched to that in 2020.

It uses two open-source markdown renderers, one for the browser that does previews and one for the server.

  • markdown-it on the client side
  • markdig on the server side.

So I imagine if you want markdown to do more you'd need to get the libraries to support that.

  • markdown-it can be extended using plugins so you'd need to either find one that already does what you want or write a new one.

  • MarkdownSharp can be extended using extensions so again you'd need to either find an existing one that does what you need or write a new one.

  • If you're writing something new you'd need to determine what syntax to use and ensure it doesn't conflict with existing syntax usage.

  • In parallel you could seek support for your new markdown feature, that could come from upvotes on this question. For comparison tables support has 929 upvotes and was eventually implemented so you'd ideally want community support at some significant fraction of that.

๐ŸŒ
Mimo
mimo.org โ€บ glossary โ€บ html โ€บ ordered-lists
Organize Content with HTML Ordered Lists | Learn HTML Now
The HTML <ol> tag creates an ordered list of items, with each list item having a number (or letter) in front of it.
Top answer
1 of 2
3

You need an ordered list <ol> which by default will order them by numbers.

you can use the type="a" attribute in HTML to change it to lower case letters. Alternatively, you can change it with CSS by adding the following property: list-style-type: lower-alpha;

These are the options an unordered list has:

Sign Type
a lowercase letters
A uppercase letters
i lowercase Roman numerals
I uppercase Roman numerals
1 numbers (default)

The important thing is, that a "sub-list" must be still within the parent list point <li>

<ol type="A">
  <li>1st 1st-level list item
    <ol>2nd-level sublist
      <li>1</li>
      <li>2
        <ol type="a">
          <li>must be part of the 2nd main list point</li>
          <li>must be part of the 2nd main list point</li>
          <li>must be part of the 2nd main list point</li>
          <li>must be part of the 2nd main list point</li>
        </ol>
      </li>
      <li>for the 3rd main list point you need to add a new li</li>
    </ol>
  </li>
  <li>2nd 1st level list-item</li>
</ol>
2 of 2
0

Ordered List Combined by numbers, lower case, and roman numerals

I had a similar situation where I needed to have full control over my ordered list.

This page needed to combine numbers, upper and lower case, and roman numerals.

I also had to control the initial number, letter, or roman numeral on independent sections.

Here is a summary of the CSS and HTML I currently use as a guideline.

ol.upper-letter {
  list-style-type: upper-alpha;
}
    ol.lower-letter {
  list-style-type: lower-alpha;
}
ol.upper-roman-numerals {
  list-style-type: upper-roman;
}
ol.lower-roman-numerals {
  list-style-type: lower-roman;
}
<h4> Ordered List Combined by Numbers, Lower Case, and Roman Numerals</h4>
<ol start=โ€1โ€>
  <li>first level</li>
      <ol type='a' class='lower-letter' start='1'>
          <li>second level</li>
          <li>second level</li>
       </ol>
  <li>first level</li>
       <ol type='a' class='lower-letter' start='3'>
          <li>second level</li>
             <ol type='i' class='lower-roman-numerals' start='1'>
                  <li>third level</li>
                  <li>third level</li>
              </ol>
          <li>second level</li>
       </ol>
 <li>first level</li>
</ol>
๐ŸŒ
DevJunky
devjunky.com โ€บ Creating-an-Ordered-list-with-Numbers-and-Letters-combined
Creating an Ordered list with Numbers and Letters combined
May 8, 2025 - Creating an Alpha Numeric listing can only be achieved by manually combining (lower-alpha) or (upper-alpha) with (decimal) or vice versa of the list-style-type of the <ol>. HTML <ol> <li>item 1</li> <li>item 2</li> <li>item 3</li> </ol> CSS ol{ list-style-type: none; } ol > li{ list-style: none; counter-increment: num; counter-increment: letter; } ol > li:before{ content: counter(num) counter(letter, upper-alpha) " - "; }
๐ŸŒ
Ado
ado.xyz โ€บ blog โ€บ custom-start-ordered-lists
How to Set a Custom Starting Point in HTML Ordered Lists - Ado.xyz
By default, and if we donโ€™t specify ... with numbers. type="A" will have our list items numbered with uppercase letters, and subsequently type="a" will list our items numbered with lowercase letters....
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ how-to-create-an-ordered-list-with-list-items-numbered-with-numbers-in-html
How to create an ordered list with list items numbered with numbers in HTML?
September 8, 2023 - We can create 4 types of ordered lists in HTML ? type="1"? This creates a numbered list starting from 1. type="A"? This creates a list numbered with uppercase letters starting from A. type="a"? This creates a list numbered with lowercase letters starting from a.
๐ŸŒ
w3grads
w3grads.com โ€บ html โ€บ html-ordered-lists
HTML Ordered Lists: Tips, Tricks, and Examples
For example, start = 5, then the ordered list starts from 5, 6, 7, etc. for letters the list starts from e, f, g, etc. for roman numbers the list starts from v, vi, vii, etc. Syntax: The following syntax is used for the start attribute: ... ...
๐ŸŒ
Makethingsaccessible
makethingsaccessible.com โ€บ guides โ€บ html-lists-for-use-as-content
HTML lists for use as content | Make Things Accessible
October 7, 2022 - Type examples are shown as you ... in old HTML code ยท Note: Unless the type of the list number matters such as legal or technical documents where items are referenced by their number or letter, use the CSS list-style-type property instead such as lists with 1., 1.1, and 1.1.1 numbers. D๏ปฟeveloper Mozilla Ordered List (external ...
๐ŸŒ
Ironspider
ironspider.ca โ€บ lists โ€บ olists.htm
Numbered and Alphabetized Lists
<ol type="number or letter type"> ... lists which are known in HTML as ordered lists. To render an ordered list, you use the ol element which requires both an <ol> start tag and an </ol> end tag....
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ html-list-how-to-use-bullet-points-ordered-and-unordered-lists
HTML List โ€“ How to Use Bullet Points, Ordered, and Unordered Lists
July 1, 2021 - Instead, you want to order using the alphabet like A, B, C or a,b,c. You can do these by specifying the value of the type attribute of the <ol> tag. You can order the list using A, B, C letters by passing A as the type value.
๐ŸŒ
DhiWise
dhiwise.com โ€บ post โ€บ guide-to-creating-structure-content-using-html-ordered-lists
Creating Structured Content with HTML Ordered List
June 4, 2024 - Here are the values you can use and the styles they represent: ... For example, if you want to use uppercase letters for your ordered list, you would use the type attribute with the value "A":
๐ŸŒ
CommonMark
talk.commonmark.org โ€บ extensions
Letter-ordered lists - Extensions - CommonMark Discussion
July 11, 2014 - Iโ€™ve often tried to convert legal documents (org. constitutions, contracts, etc.) to Markdown. Legalese is often full of nested ordered lists of several varieties. A main pet peeve is that letter-ordered lists are frequent and not really supported. 1. A vegetarian shall not eat: (a) Chicken (b) Beef (c) Bacon (d) Fish, on these days: i. Tuesday ii.