<form action="">
<input type="checkbox" name="dx" value="a" id="a">
<label for="a">a</label>
<input type="checkbox" name="dx" value="b" id="b">
<label for="b">b</label>
<input type="checkbox" name="dx" value="c" id="c">
<label for="c">c</label>
<label><input type="checkbox" name="dx" value="d">d</label>
<br>
<input type="radio" name="radio" value="A" id="aa">
<label for="aa">aa</label>
<input type="radio" name="radio" value="B" id="bb">
<label for="bb">bb</label>
<input type="radio" name="radio" value="C" id="cc">
<label for="cc">cc</label>
<label><input type="radio" name="radio" value="D">d</label>
</form>