HTML & CSS: Creating Forms
2h 32mBeginner2017-08-17
Authors

Clarissa Peterson
Developer, Author, and Speaker, specializing in UX and design strategy
Course details
Forms are a major component of modern websites, used to collect user data, conduct polls, and more. While you can use a form builder, they're relatively simple to build from scratch with basic web technologies: HTML and CSS. In this course, Clarissa Peterson demonstrates best practices for creating and styling web forms that are easy to complete and accessible to all users and devices. Learn proper use of form fields, including the new HTML5 input types, and discover how to add interactivity such as form validation, style forms with CSS, create responsive layouts, add interactivity such as form validation, and design forms for usability and accessibility.
Learning objectives
How users interact with forms
Designing forms that are easy to use
Following data privacy laws when collecting information
Choosing which HTML input types to use
Adding buttons
Adding interactive validation
Styling form fields with CSS
Using positioning and flexbox to create responsive form layouts
Learning objectives
How users interact with forms
Designing forms that are easy to use
Following data privacy laws when collecting information
Choosing which HTML input types to use
Adding buttons
Adding interactive validation
Styling form fields with CSS
Using positioning and flexbox to create responsive form layouts
Skills covered
HTMLWeb StandardsWeb DesignFront-End Web DevelopmentWeb DevelopmentOpen SourceDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Using the exercise files
1. Designing a Form Experience
- 04 - Ask the right questions
- 05 - Explain what you want
- 06 - Create a good flow
- 07 - Data privacy
2. Creating Forms with HTML
- 08 - Basic form structure
- 09 - Text, email, and URL input types
- 10 - Number input type
- 11 - Date and time input types
- 12 - Radio buttons
- 13 - Select
- 14 - Textarea and additional input types
- 15 - Submit and other types of buttons
- 16 - Attributes used in forms
3. Making Forms Interactive
- 17 - Form submission and security
- 18 - Form validation
4. Styling Form Fields with CSS
- 19 - Basic form styles - Text color and size
- 20 - Box sizing for forms
- 21 - Styling text inputs
- 22 - Styling radio buttons and check boxes with images
- 23 - Styling radio buttons and check boxes as buttons
- 24 - Styling select
- 25 - Styling buttons
- 26 - Styling pseudo-classes
5. Form Layout with CSS
- 27 - Small-screen layout for forms
- 28 - Wide-screen layout for forms
- 29 - Form labels
- 30 - Placeholder attribute
Conclusion
- 31 - Next steps