Semantic HTML markup of
Sometimes, it is needed to apply styles to each group of
DD elements integrally.
DD elements in a common container like
DIV is disallowed by the HTML specification:
DL is the only valid parent element of these elements.
In such cases, each such group should be put into its own separate
DL element, and to keep adjacent groups belonging to a single semantic sequence, each such
DL may be put into a
LI element of a regular unordered list
Update: starting from , the HTML spec allows wrapping
DIV, but for now, it is allowed to use not more than one nested
DIV, so usefulness of the feature in practice is very limited and the approach described here is still relevant.