Web Design

Only members of this group can post notes and use other group resources. Join now to get access to all group resources!
Log in or register to join this group

HTML/XHTML Label CheckBox  Viewed 11291 time(s), 2 post(s)., 1/12/2014 8:14:51 PM - by Maya

Maya
Maya 1/12/2014 8:14:51 PM

How to use a label to control a checkbox (on/off)?

This content has not been rated yet. 
141 Reputation 9 Total posts
1
Sam
Sam 1/12/2014 8:51:21 PM


You can wrap the label (text) with the checkbox

<label><input type="checkbox" name="mycheckbox" value="Clickable"> My Text</label>

This content has not been rated yet. 
233 Reputation 37 Total posts
2