In some rare cases you may want to make a checkbox readonly.
In my case I had to explain what does a checkbox had on a site.
One option is to use the attribute "disabled"="disabled" but this makes the checkbox greyed out.
If you want to make readonly here is how to do it.
<input checked="checked" name="documenti" onclick="return false;" type="checkbox" value="valore" />