Home >Web Front-end >HTML Tutorial >What does checked mean?
## 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 2213c9627c391f00ef101b1592023bcb or d11dad02a1f3abd212da65221b2dc681.
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!