html set checkbox checked by default 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>