Comment by tempaccsoz5
2 days ago
Their structure in the markup can be a bit confusing imo - something more like a <figcaption> inside a <figure> or a <legend> inside a <fieldset> would be much nicer imo.
The spec even mentions [0] that you're allowed to use <div>s to group dt/dd pairs for styling purposes.
[0]: https://html.spec.whatwg.org/multipage/grouping-content.html...
No comments yet
Contribute on Hacker News ↗