Sometimes, when you enter the page, the button already lights up by default. What attribute is applied to interface elements (such as checkboxes and radio buttons) when they are in the "on" position?
Explanation
The pseudo-class: checked attribute is applied to interface elements, such as checkboxes and radio buttons, when they are in the "on" position.
Switching elements to this state occurs using the checked attribute of the <input> or by the user.
Link to the specification:
HTML checked Attribute.
Click here for additional information.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback