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