HTML checked attribute
HTML checked attribute decides that which option should be checked initially in an option list.
checked attribute gives default value to the input
Male Female OtherAttribute values
All possible values of checked attributeIt is a boolean attribute. The presence of this attribute checks radio button or input option initially.
Related Tags
The tags that support checked attribute<input> tag
-
input tags represents an input field in a form. checked attribute should be used when 'radio' or 'checkbox' are the types of input element.