html checked attribute code example
Example 1: how to set checkbox checked
<input type="checkbox" name="vehicle3" value="Boat" checked>
#If if helps you give it Thumbs up
Example 2: html checkbox default checked
<!-- Add checked tag -->
<input type="checkbox" name="vehicle3" value="Boat" checked>
Example 3: html checked
<input type="checkbox" name="ok" value="ok">
<label for="ok">I agree</label>