D
D
djEban2022-04-17 08:48:54
HTML
djEban, 2022-04-17 08:48:54

Does the number of nodes affect performance?

There is such a layout from a list with 1000 link elements

<ul>
  <li><a>Link</a></li>
  <li><a>Link</a></li>
  <li><a>Link</a></li>
  ... 996 more
  <li><a>Link</a></li>
</ul>

Wouldn't the browser take longer to parse such HTML than one where div is used instead of ul and the a tag is directly inserted into it? If so, then there is no point in using semantic layout in this case?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question