Use The "disabled" Attribute To Make A Checkbox Read Only

July 2023
<input type="checkbox" name="some_name" checked disabled />

<input type="checkbox" name="some_other_name" disabled />

Notes

  • It looks like Firefox has to have a name attribute on the checkbox to prevent any checked boxes from placing the tic makr on the wrong box
end of line