Mastering HTML5 Forms

Create dynamic and responsive web forms with this in - depth, hands-on guide

Mastering HTML5 Forms

Mastering
Gaurav Gupta

Create dynamic and responsive web forms with this in - depth, hands-on guide
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook

Get unlimited access to this and 3,500 other courses today!

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781782164661
Paperback148 pages

Book Description

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

Chapter 1: Forms and Their Significance
Understanding web forms
HTML versus HTML5 forms
The form <input> types, elements, and attributes
Building an HTML5 form
Guidelines
Summary
Chapter 2: Validation of Forms
Form validation
HTML5 form validation
Constraint validations
Error messages
Summary
Chapter 3: Styling the Forms
CSS3 for web forms
Selectors and pseudo-selectors
Backgrounds
Text effects
Fonts
Gradients
Styling the forms
Guidelines
Summary
Chapter 4: Connection with Database
PHP
MySQL
Spoofing and forging forms
Linking a form to a server
Summary
Chapter 5: Responsive Web Forms
Responsive design
Media queries
Fluid grids
Adaptive images
Making our form responsive
Limitations
Guidelines
Summary

What You Will Learn

  • Get to grips with the new HTML5 form elements and attributes
  • Add client-side validation to your forms using HTML5 attributes
  • Discover form validation constraints and the supported APIs
  • Style your forms using CSS3
  • Prevent spoofing and forging of the forms
  • Utilize PHP and MySQL to store information in databases
  • Understand responsive design techniques

Authors

Table of Contents

Chapter 1: Forms and Their Significance
Understanding web forms
HTML versus HTML5 forms
The form <input> types, elements, and attributes
Building an HTML5 form
Guidelines
Summary
Chapter 2: Validation of Forms
Form validation
HTML5 form validation
Constraint validations
Error messages
Summary
Chapter 3: Styling the Forms
CSS3 for web forms
Selectors and pseudo-selectors
Backgrounds
Text effects
Fonts
Gradients
Styling the forms
Guidelines
Summary
Chapter 4: Connection with Database
PHP
MySQL
Spoofing and forging forms
Linking a form to a server
Summary
Chapter 5: Responsive Web Forms
Responsive design
Media queries
Fluid grids
Adaptive images
Making our form responsive
Limitations
Guidelines
Summary

Book Details

ISBN 139781782164661
Paperback148 pages
Read More

Read More Reviews