- Term 1
- This is the definition of the first term.
- Term 2
- This is the definition of the second term.
The code below is the code seen in the Code Editor. No <p> tags are inserted. <div> within the Custom HTML block within a definition list it works too. I wrapped one dt dd pair in a yellow background <div>.
<!-- wp:html -->
<div style="background:lightblue;">
<dl>
<lh>List Header</lh>
<div style="background:yellow;">
<dt>Term 1</dt>
<dd>This is the definition of the first term.</dd>
</div>
<dt>Term 2</dt>
<dd>This is the definition of the second term.</dd>
</dl>
</div>
<!-- /wp:html -->