From the course: Building HTML5 Forms with Dreamweaver

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Providing options with select menus

Providing options with select menus - Dreamweaver Tutorial

From the course: Building HTML5 Forms with Dreamweaver

Providing options with select menus

- [Instructor] Select menus, commonly referred to as dropdown menus, are an easy way to allow users to choose from a set of options. While technically select menus are not one of HTML5's new input types, they fit into our general theme here of providing easy access to form inputs in a variety of environments, and they're particularly handy in a smartphone. So let me demonstrate how to create one and what they do. Select menus have a set of option elements within them. So here's an example. And we can actually get a pretty good idea of what this will look like just by jumping over to Dreamweaver's live view, and we can see that options one, two, or three are available. You can't make any choice in a select menu required. If a user doesn't choose any option, the first option is selected by default.

Contents