Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Forms Organizing Forms The Label Element

Aakash Srivastav
seal-mask
.a{fill-rule:evenodd;}techdegree
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 Points

<label> element

How will I make the label a block level elemenet as shown in the video? Should I have to make it display:block by selecting it in the CSS , or any specific method is used for it? I have done the normal CSS projects. But when it comes to "styling forms" , I became blanked. I need your help. My question is "Where are some common traits used in styling form element ?". This will help me in having a good start. Thanks

2 Answers

Steven Parker
Steven Parker
229,732 Points

There are some form styling recommendations on the MDN page Styling HTML forms and on w3school's CSS Forms.

And a quick search will turn up lots of sites with examples, such as this one with 10 CSS HTML Form Designs.