Is there a way to increase the space between the number and the text of each <li>?


#1

Question

Is there a way to increase the space between the number and the text of each <li>?

Answer

Yes there is a way to do this! We can use CSS to target the <li> elements and then apply some left padding to them. This will nudge the text to the right, away from the numbers. To learn more about how to change the look of our pages, check out our Learn CSS course.


FAQ: Learn HTML Elements - Intro to HTML - Ordered Lists