## The English meaning of checked is: check; review; check; inspect; find out; view; verify; confirm; control; suppress; prevent.
In HTML:
##Recommended Tutorial:HTML video tutorial
Definition and usageThe checked attribute specifies that it should be pre-selected when the page is loaded. input element.
The checked attribute is used with or .
The checked attribute can also be set through JavaScript code after the page is loaded.
Syntax<input checked="value">
HTML form with a pre-selected checkbox :
<form action="form_action.asp" method="get"> <input type="checkbox" name="vehicle" value="Car" checked="checked" /> I have a car </form>
The above is the detailed content of What does checked mean?. For more information, please follow other related articles on the PHP Chinese website!