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