html checkbox disabled and checked code example Example: checkbox readonly <input type="checkbox" onclick="return false;"/>