About 101,000 results
Open links in new tab
  1. semantics - when to use UL or OL in html? - Stack Overflow

    Jun 24, 2009 · 4 Use OL when you're listing steps that need to be done in a certain order. Use UL when you're listing items in no particular order of importance.

  2. html - <ol> with numbers another color - Stack Overflow

    Aug 13, 2015 · 0 All you need is ol li::marker {color: Red} You can miss off the ol if you want it to apply to the symbols of unordered lists as well.

  3. How to center ordered list number in HTML - Stack Overflow

    Oct 14, 2013 · Learn how to center ordered list numbers in HTML with practical examples and solutions provided by the Stack Overflow community.

  4. html - Should ol/ul be inside <p> or outside? - Stack Overflow

    4.5.5 The ol element: Categories: Flow content. Content model: Zero or more li and script-supporting elements. The first part says that p elements can only contain phrasing content …

  5. Remove the left spacing of an ordered list (OL) - Stack Overflow

    Jun 12, 2012 · 7 ol, ol li { margin-left: 0; padding-left: 0; } ol { margin-left: 1.3em; } The default spacing on the left may be caused by left padding or left margin of ol or li, or a combination …

  6. html - How do I do an <ol> with decimals? - Stack Overflow

    Jan 15, 2010 · Here's a JavaScript solution for browsers that don't fully support CSS2. I've tested it in Firefox 3.5, IE6, IE7, IE8 and Chrome 4.0. I've written a pure JavaScript version and an …

  7. Proper way to make HTML nested list? - Stack Overflow

    Learn how to properly create nested HTML lists with examples and best practices, as discussed on Stack Overflow.

  8. How can you customize the numbers in an ordered list?

    Learn how to customize numbers in an ordered list with examples and step-by-step instructions on Stack Overflow.

  9. html - Why are <ol> and <dl> not deprecated? - Stack Overflow

    Aug 15, 2016 · If you use ol or dl only because how they look, you're doing it wrong. Isn't the list type a distinct style choice Definitely not. When you use a html tag, you should know why …

  10. How to increase size of serial number in OL - Stack Overflow

    24 I want to increase the size of the number in OL without increasing the font size of the text of the content. What is wrong with this and how to correct it: