label radio button checked code example
Example 1: html radio button checked
<input type="radio" id="huey" name="drone" value="huey"
checked>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio-->
Example 2: html radio label clickable
<!-- Wrap elements without giving them each an ID -->
<label>
<input type="radio" name="mode" value="create">
<i>create table</i>
</label>
<!--You can use <label> elements, which are designed to do exactly that-->
<input type="radio" id="radCreateMode" name="mode" value="create" />
<label for="radCreateMode"><i>create table</i></label>