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 36027 time(s), 2 post(s)., 1/12/2014 8:14:51 PM - by 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
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