Question:What is the best method to select all elements except for the last one in an unordered list? 

A 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 

+ Answer
+ Report
Total Preview: 2041

Copyright © 2025. Powered by Intellect Software Ltd