HTML | Tags and Attributes [FORM] [Checkbox]




Ü How to include Checkboxes ?
            To create Check Box’s, in the above input replace RADIO with CHECKBOX. The values of NAME and VALUE attributes all can differ. We can use the CHECKED attribute in any number of options. A simple example with output is given below
.
Input :
<HTML><HEAD><TITLE> FORM </TITLE></HEAD>
<BODY>
<FORM>
I want....<BR>
<INPUT TYPE="CHECKBOX" NAME="per" VALUE="permanent">to be permanent member.<BR>
<INPUT TYPE="CHECKBOX" NAME="temp" VALUE="temporary">to be limited member.<BR>
<INPUT TYPE="CHECKBOX" NAME="tri" VALUE="trial">3 days free trial.<BR><BR>
</FORM></BODY></HTML>
Output:



JOIN THE COMMUNITY

Like & Share with people you care

No SPAM, only email notification if new posts were published.

Recommended Recommends

Comments

Contact Us