Form Syntax
All form information should be located between the <FORM> </FORM> tags. The form can have various atrributes. We will begin by using the NAME attribute in order to easily identify the form to which we are referring. <FORM NAME="demo"> </FORM> Another type of INPUT element is the CHECKBOX element. Below is an example of some of the attributes used with the INPUT tag of TYPE CHECKBOX.

<FORM NAME="colors"> <INPUT TYPE="CHECKBOX" NAME="rgbbox0" VALUE="red" CHECKED>red <INPUT TYPE="CHECKBOX" NAME="rgbbox1" VALUE="green">green <INPUT TYPE="CHECKBOX" NAME="rgbbox2" VALUE="blue" CHECKED>blue </FORM>
red green blue
The three elements shown above are of type CHECKBOX. The attribute CHECKED allows you to place a check in the box when the form is loaded into the browser. The web page user has the option to check or uncheck the boxes.

For further reference information related to forms, read the information at the w3schools.