Why should I use ‘li’ instead of ‘div’?

For semantic correctness. HTML has the ability to express lists of things, and it helps the Google robot, screen readers, and all manner of users who don’t care solely about the presentation of the site understand your content better.

Leave a Comment