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:



Recommended Recommends

Comments

Contact Us