Most Likely Cause and Fix
You have neglected to close a previous parent or sibling element,
resulting in an
<dt> element being
placed where it is not allowed.
Check that preceding siblings and parents are correctly closed.
script element that contains
<dt> which has not been marked
as character data (CDATA).
What This Error Means
HTML is often comprised of elements nested inside other elements, such as the placing of an anchor within a paragraph:
<p> Hello <a href="http://example.com">World!</a> </p>
There are rules regarding which elements can be nested inside other elements and when this is allowed to happen.
Most notably, block-level elements, such as
are not allowed inside inline elements such as
This error relates to the when and is telling you that the
<dt> element on the relevant line number
is not allowed at that point.
How To Fix It
The specific error message you encountered will refer to a line and column number. This will guide you to the exact point in your markup to which the error relates.
<dt> element in question and check to see what
element it is inside of.
Check that you haven't failed to close a preceding sibling.
Check that the relevant
<dt> is actually used in
a place that it is allowed to be used.
Many elements have restrictions on the types of elements allowed inside them. For example, a list element can only have children that are list item elements.