What is more generic way with ul or with div

To make display some phone numbers about 2-3?

<ul>
<li>number<li>
<li>number<li>
<li>number<li>
<ul>

or

<div>
<p>number</p>
<p>number</p>
<p>number</p>
</div>

Whichever makes more sense in context; if it’s a list of the same type of thing then use a list, if there’s something specific you need to do differently with each one use something else. It totally depends on purpose and it doesn’t make a lot of difference.

2 Likes

I’d probably go with the list.

2 Likes