I need to style a <dl>
description list that is unordered, so I want bullets before each <dt>
.
Edit: Just to be clear, I have an unordered list of <dt>
-<dd>
pairs. They should look like one list item, with the <dt>
having a bullet before it.
I can think of two methods to add bullets to this list:
- Wrapping a
<ul>
around the<dt>
and using<li>
elements for the items - Utilizing the CSS :before pseudo-selector on the
<dt>
to add a bullet as content
Which approach is better for creating a description list with bullets?
Thank you for any assistance.