checkbox checked as default code example
Example 1: html checkbox default checked
<!-- Add checked tag -->
<input type="checkbox" name="vehicle3" value="Boat" checked>
Example 2: input checked by default
<input type="checkbox" checked>
<!-- Add checked tag -->
<input type="checkbox" name="vehicle3" value="Boat" checked>
<input type="checkbox" checked>