Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Right now, it’s impossible for the user to tell what kind of information they should type into each form field. We can label form controls using the label element.
<label> element
- The
label
-element helps to organize forms by assigning some helpful text to a form control. This text lets the user know what kind of data they should add to each form field.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
William Domenech
7,259 Points2 Answers
-
pratyush raj
7,097 Points1 Answer
-
Michael Bran
1,687 PointsIs there any reason why simply using an h tag to do this wouldnt work just as well? <h3>Name:</h3>
Posted by Michael BranMichael Bran
1,687 Points2 Answers
-
Bradley Hapgood
Python Development Techdegree Student 12,659 Points2 Answers
-
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 Points2 Answers
-
web pad
4,483 Points1 Answer
-
Damian Toczek
4,471 Points1 Answer
-
Immanuel Jaeggi
5,164 Points2 Answers
-
Stefan Cutajar
7,747 Points1 Answer
-
Dee K
17,815 Points1 Answer
-
Brent McDonald
1,261 Points2 Answers
-
Keith Corona
9,553 Points"Name" input field is not grey or sized like the other input boxes, problem?
Posted by Keith CoronaKeith Corona
9,553 Points1 Answer
-
Sahar Nasiri
7,454 Points4 Answers
-
rajbee
6,657 Points2 Answers
-
Ryan Boyd
7,561 Points4 Answers
-
Hannah Demers
2,894 PointsOpened workspace and all the work I did in the form basics badge is gone.....
Posted by Hannah DemersHannah Demers
2,894 Points6 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
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