Question: What is the best method to select all elements except for the last one in an unordered list?
A
B
C
D
Adding a class to each <li> element but last
B
Using li:not(:last-child) css selector
C
Using li:last-child selector
D
None
Note: Not available