Explanation
To make a checkbox selected or ticked by default in HTML, you can use the checked attribute. When the checked attribute is present in the HTML code, it indicates that the checkbox should initially appear selected or checked when the page loads.