From the course: Building HTML5 Forms with Dreamweaver

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The email input

The email input - Dreamweaver Tutorial

From the course: Building HTML5 Forms with Dreamweaver

Start my 1-month free trial

The email input

- [Instructor] I've talked about the ubiquitous email input earlier. Why do I say ubiquitous? Because it's probably the most commonly used input type outside of just plain text. The syntax for an email input, again, is label for, and of course the label for value has to correspond to the ID value in the input type. So that syntax is labeled for email, and then a label, like email. And then we close the label and then input type=email, ID=email, and again the name is not for our purposes. The name is for the back end programmer whose going to want to shuffle these email addresses into a database somewhere. Now, I can't imagine circumstances where you would want to have a default value for an email address. However, let me draw your attention to line 14 in our code. The auto complete on is going to be very valuable for people who are entering an email address that they've already entered before. Let's see how that works in a browser. So when I start entering an email address, because I…

Contents