Does it use better than the DIV, perhaps for page performance?

This may be a dumb question, but is it better than using a div, perhaps for page or resource performance?

+3
source share
2 answers

Why is performance the most important thing? Use <li>only if you want to mark the list, use <div>for sections / blocks of information.

Some browsers typically display <li>as bulleted list items; if you really want to talk about performance, most likely it will be a hit to browser performance in order to erase the list styles from these elements using CSS anyway.

+4
source

please check this, it can be very useful

Why should I use 'li' instead of 'div'?

+4
source

Source: https://habr.com/ru/post/1781084/


All Articles