This isn’t how you add the checked
attribute:
In order to make a checkbox checked or radio button selected by default, you need to add the
checked
attribute to it. There’s no need to set a value to thechecked
attribute. Instead, just add the wordchecked
to theinput
element, making sure there is space between it and other attributes.