html set checked code example Example: checkbox value <input type="checkbox" name="vehicle1" value="Bike"> The checkbox value is 'Bike'.