Placeholders are a great way to invite users to enter data in a form, especially in mobile devices. David Karlins demonstrates how to define them.
- Placeholders are a parameter of an input.…They don't work with every input,…but they do work with text, surge, URL,…tell, email, and password input types.…And therefore they're going to work with…the email and tell inputs that we have here.…The coding, the syntax is very simple.…It's just placeholder equals and then…the text that you wanted to add.…And notice that I got away with an asterisk…inside the quotes, which is perfectly legal.…
Special characters are fine in placeholders.…So now I have assigned placeholders,…and I've actually got a bit of redundancy here…because I've got both placeholders and labels.…That, I think is a little cluttered.…So we're going to take a look at removing the labels.…And I can do that in my style by just…creating a different style for labels.…
Display none.…And because that style came after my…earlier labeling style, it overrides it in browsers.…So now I've got a label, but I'm hiding it.…That has the advantage of making the labels…accessible to disabled viewers who rely…on a label and special software they have…
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 placeholders