From the course: Building HTML5 Forms with Dreamweaver
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
The color input - Dreamweaver Tutorial
From the course: Building HTML5 Forms with Dreamweaver
The color input
- [Instructor] We'll dive right in using the color input and I'm starting with a form with some very basic coding and styling that we've covered earlier. The syntax for the color input is, label for color and then a label like select a color and then I close the label tag and then input type equals color. The ID equals color and remember the ID has to match the label, and name equals color. That's something we're just putting in in case a back end or front end coder wants access to that later. One thing I want to introduce next is I can assign a value to many types of input and that becomes the default value and let's say for example you wanted to steer people towards choosing yellow as the selected color. You can make that the default with value equals and then the hexadecimal code for yellow. By the way, if I'm not inclined to type code, I can assign these attributes in the properties panel. And the properties panel displays the attributes that I've selected. If I wanted to change…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.