how to make checkbox readonly using html code example Example: checkbox readonly <input type="checkbox" onclick="return false;"/>