make checkbox readonly css code example Example: checkbox readonly <input type="checkbox" onclick="return false;"/>