Question: how to check whether a checkbox is checked or not in html?
Answer: Set the checked state of a checkbox: function check() { document. ... 
Find out if a checkbox is checked or not: getElementById("myCheck"). checked;
Use a checkbox to convert text in an input field to uppercase: getElementById("fname"). value = document. ... 
Several checkboxes in a form: var coffee = document. forms[0];