Ordered lists are heavily used in many web pages. One of the tricky parts about the ordered lists is changing the marker from numbers to alphabet letters and vice-versa the other tricky part is the starting number/letter of the ordered list.Let’s say you want to have a table of contents with numbers for the main items and then letters for the subitems or you have started an ordered list and then wish to insert a photo or a table in your post/page and continue with the ordered list numbering.
Here is an example of the default ordered list.
if you switched to the text editor in your WordPress dashboard you will find this HTML code:
To switch to an alphabetical ordered list all you need to do is specify the type of the order list, check the below code:
Now you get the idea of how this works, you can use the following types for ordered lists:
- type=”a” for lower case letters.
- type=”A” for upper case letters.
- type=”i” for Roman lower case numbers.
- type=”I” for Roman upper case numbers.
To start the ordered list with a number other than one, check the example below:
The HTML code behind this is: