Anne van Kesteren

dl, dt and dd markup

The content model of a dl is that it contains zero or more groups each consisting of one or more dt elements followed by one or more dd elements. This implies that “omitting” a dd element means that two subsequent dt elements share the same definition. For example:


Here “foo” and “bar” share the definition “baz.” It seems that some people expect (looking at markup around the web, tutorials and all that) that “foo” has no definition at all. Unfortunately that’s wrong. Fix it.