There are two big reasons to use labels in forms: accessibility, and convenience. David Karlins explains how to configure them with HTML5.
- Before we look at why we might not want to use labels,…let's emphasize what they are,…what value they add, and how they work.…Now, here's a form, and as you see,…I've got a little excess verbiage.…Let's take a look at this in a browser…and I'll show you what I mean.…Little excess verbiage…between asking a client for their email address…and the actual input where they enter the email address;…however, if I click on the email label,…did you notice that the email input became focused,…or active?…So labels connect, and in a more classic example,…if I just tap on the phone label,…that input becomes active.…
This is valuable, especially for people…who are using a keyboard and a mouse.…It's also valuable for people…who have various kinds of disabilities.…It makes it easier for them to select an input…and fill out a form.…Let's go back to Dreamweaver and refresh…and remind ourselves of how the syntax works.…We have label for email…and that connects to the email input…through matching IDs.…
So the label for=email…and then if you look down at line 20 in the code,…
Author
Released
11/8/2017- Modern form inputs
- Dreamweaver form design features
- Styling forms with CSS
- Form input types
- Setting required inputs and constraints
- Styling inputs with CSS
- Integrating Bootstrap tools
Skill Level Advanced
Duration
Views
Related Courses
-
Considering a CMS for Web Design
with Brian Wood54m 59s Beginner -
Design Aesthetics for the Web
with Sue Jenkins2h 45m Beginner -
Dreamweaver CC Essential Training
with David Powers8h 11m Beginner
-
Introduction
-
Welcome48s
-
Using the exercise files1m 52s
-
-
1. Examples of Modern Inputs
-
2. Building Forms with Dreamweaver
-
Styling forms with CSS2m 9s
-
3. Form Input Types
-
The color input2m 33s
-
The date input2m 27s
-
The email input1m 41s
-
The number input1m 42s
-
The range input3m 19s
-
The search input1m 56s
-
The telephone input1m 6s
-
The time input2m 3s
-
The URL input3m 56s
-
4. Using HTML5 Inputs for Validation
-
Setting a required input3m 13s
-
Setting a constrained input2m 56s
-
-
5. Inviting and Accessible Inputs
-
Effective use of labels1m 43s
-
6. Styling Input
-
Styling inputs with CSS1m 18s
-
CSS for forms1m 33s
-
CSS for styling inputs1m 14s
-
CSS for styling text areas1m 34s
-
Styling with fieldsets2m 39s
-
-
7. Bootstrap Form Tools
-
Creating inline forms3m 9s
-
Adding labels and badges1m 12s
-
Adding sets of radio buttons3m 10s
-
Conclusion
-
Next steps2m 11s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Effective use of labels