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

We're supposed to be familiar with the <select> element, and its <option> ??

The instructor jumped into using the <select> element as if we had already covered. I looked back through my notes ... and I don't see it. Where was this covered?

2 Answers

I hope this gives you a least a small understanding what a <select> tag is? It is used in the FORM .The <select> element is a form control and can be used in a form to collect user input. The <select> element is used to create a drop-down list. The <option> tags inside the <select> element define the available options in the list.

<select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> </select>

Steven Parker
Steven Parker
243,253 Points

You didn't mention which course you are taking (or provide a link to the page). So I'm just guessing, but maybe this is from a preqrequisite course?

This is in the jQuery Basics course - and that would be my guess also, though I don't remember seeing it in any of the prereq courses.