Conflicting information about HTML checkbox’s “checked” attribute
According to this MDN article, the checked
attribute of a checkbox only indicates whether a checkbox is ticked by default, and not its current state.
According to this MDN article, the checked
attribute of a checkbox only indicates whether a checkbox is ticked by default, and not its current state.