set checkbox checked bydefault in js code example
Example: html checkbox default checked
<!-- Add checked tag -->
<input type="checkbox" name="vehicle3" value="Boat" checked>
<!-- Add checked tag -->
<input type="checkbox" name="vehicle3" value="Boat" checked>