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
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781782164661
Paperback148 pages

About This Book

  • Enhance the look and feel of your form
  • Optimize your user experience for any device
  • Utilize HTML5’s brand new form elements

Who This Book Is For

Enhance your skills in building responsive and dynamic web forms using HTML5, CSS3, and related technologies. All you need is a basic understanding of HTML and PHP.

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

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.

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