Vazi O. answered 03/29/19
Java, Python, Excel, SQL, Data Analyst, Project Management Expert
Try using disabled attribute of the checkbox type:
<input type="checkbox" name="option" value="0" disabled="disabled" />
<input type="checkbox" name="option" checked value="0" disabled="disabled" />
The disabled attribute when set to "disabled", it does not allow anyone make any changes to the checkbox, thus making the checkbox read only.