dt and dd elements must be contained by a dl
Log in (Premium content) Request a demo
Definition list items (
<dd>) must be wrapped in parent
<dl> elements to be valid. This enables screen reader users to understand the proper hierarchy of information in the list.
The Algorithm, in Simple Terms
Ensures that all child
<dt> elements have a
<dl> as a parent.
Why this is Important
A definition list item must be wrapped in parent
<dl> elements, otherwise it will be invalid.
How to Fix the Problem
Wrap the list item in parent
<dl> elements to ensure the list follows the proper hierarchy. Furthermore, make sure that the
<dd> elements are in the proper order.
- HTML 4