Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML Forms!
You have completed HTML Forms!
Preview
Sometimes there might be a group of predefined options where the user can select multiple items. That’s where checkboxes are a better choice than radio buttons or select menus.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
user to be able to select multiple options
and not just one of them.
0:00
That's where checkboxes are useful.
0:00
Lets say that we wanted the user to be
able
0:02
to tell us which major topic areas are
interesting to them.
0:04
They might be interested in more than one
topic, so checkboxes are perfect for this.
0:08
I'm going to type out some checkboxes and
then explain them.
0:14
So if we jump into our work space here.
0:18
And I scroll down pass the Select element
we created earlier.
0:21
We'll type out a Label.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up