html checked value code example Example: html checked <input type="checkbox" name="ok" value="ok"> <label for="ok">I agree</label>