David Karlins demonstrates how to let users enter time and date in a form using HTML5 inputs.
- [Instructor] The time input displays a handy spinner…for mobile devices.…Again it makes it much easier to enter a time…than forcing a mobile user to get to their numeric keypad,…enter numbers, find the colon, et cetera.…So use the time input when you're collecting a time…from people, and you can also use its cousin…the date time input to collect both date and time.…Now I'm not going to be both 'cause they're very similar,…but we'll take the time input as an example.…
The syntax is, label for equals time,…and then a label like best time to reach you.…And we'll close the label and then input type equals time,…id equals time, and name equals time.…And let's give that a try out both…in a laptop desktop browser and in a mobile device.…
First in a laptop desktop browser we'll try it in Chrome.…And this is a handier way to enter a time.…Either I can type without having to worry about finding…a colon, or I can just use the up and down arrows…to enter a time in hours, minutes, and AM or PM.…And here's how that looks in a mobile device.…
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
-
Next steps2m 11s
-
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: The time input