In the shown example, the second child elements from the bottom of the lists, i.e. the penultimate list items, will be in bold. Then the CSS CLASS looks like this:

LI:nth-last-child(2) {
    font-weight: bold;
}


The code for the example looks like this:

<B>List 1:</B>
<UL>
<LI>Item 1</LI>
<LI>Item 2</LI>
<LI>Item 3</LI>
<LI>Item 4</LI>
<LI>Item 5</LI>
<LI>Item 6</LI>
</UL>

<B>List 2:</B>
<OL>
<LI>Item 1</LI>
<LI>Item 2</LI>
<LI>Item 3</LI>
<LI>Item 4</LI>
</OL>


On the screen, it looks like this:

List 1:
List 2:
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4