Book description
Create dynamic and responsive web forms with this in - depth, hands-on guide
- Enhance the look and feel of your form
- Optimize your user experience for any device
- Utilize HTML5’s brand new form elements
In Detail
HTML5 has given web developers the ability to easily develop sites and applications which, previously, were extremely time consuming. Now, they can not only build visually stunning forms and web pages, but can also increase the scope of their applications, as well as collect valuable user inputs and data through customized forms.
This practical guide will teach you how to create responsive forms, and how to link them to the database. This will enable you to take advantage of the power behind HTML5 elements for building forms, and make the user interfaces attractive and more interactive.
Explore the benefits of web forms, and learn how to create them using new HTML5 form elements. This guide will take you through a number of clear, practical examples that will help you to take advantage of the forms built and customized using HTML5 and related technologies, quickly and painlessly. Your ability to build responsive forms will be enhanced throughout the book.
You will also learn about the necessity of validations, CSS3 properties for improving the look of the form, and how to link the form to the server. Lastly, you will learn to make the standard forms responsive by making them compatible with desktops and mobile devices.
Table of contents
-
Mastering HTML5 Forms
- Table of Contents
- Mastering HTML5 Forms
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Forms and Their Significance
-
2. Validation of Forms
- Form validation
- HTML5 form validation
-
Constraint validations
-
HTML5 constraint validation APIs
- The validity object
- The checkValidity method
- The setCustomValidity() method
- The willValidate attribute
- The validationMessage attribute
- The patternMismatch property
- The customError property
- The rangeOverflow property
- The rangeUnderflow property
- The stepMismatch property
- The tooLong property
- The typeMismatch property
- The valueMissing property
- The valid property
-
HTML5 constraint validation APIs
- Error messages
- Summary
-
3. Styling the Forms
- CSS3 for web forms
- Selectors and pseudo-selectors
- Backgrounds
- Text effects
- Fonts
- Gradients
- Styling the forms
- Guidelines
- Summary
- 4. Connection with Database
- 5. Responsive Web Forms
- Index
Product information
- Title: Mastering HTML5 Forms
- Author(s):
- Release date: November 2013
- Publisher(s): Packt Publishing
- ISBN: 9781782164661
You might also like
video
Learning HTML5 Forms
In this Learning HTML5 Forms training course, expert author Ben Jaffe will teach you all about …
video
Modern Web Design with HTML5, CSS3, and JavaScript
Responsive websites are the future. They allow your site to adapt to different screen sizes, which …
video
Web Forms - 2023 Build and Master Advanced Web Forms
An HTML form is another name for a webform. It’s a site where people can enter …
book
HTML5 and JavaScript Projects: Build on your Basic Knowledge of HTML5 and JavaScript to Create Substantial HTML5 Applications
Build on your basic knowledge of HTML5 and JavaScript to create substantial HTML5 applications. Through the …