I want to be able to select a "code" by double-clicking it. But when I do so, the whole definition is selected.
dt {
float: left;
clear: left;
}
dd {
float: left;
font-family: monospace;
}
<dl>
<dt>Code</dt>
<dd>123456</dd>
<dt>Code</dt>
<dd>abcdef</dd>
</dl>
What can I do so that a double-click will select the contents of the dd
only?