In need of a solution to align the term and description in a description list on the same line.
The current code I have works, but it doesn't look very professional. It's time to update it with a more modern approach using flexbox. But how can I implement flexbox for this?
dt, dd { float: left; }
dt { clear: both; font-weight: bold; }
dd { margin-inline-start: 1em; } /* Ideally avoid changing browser defaults */
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>