Mastering HTML5 Forms. (2013)
- Record Type:
- Book
- Title:
- Mastering HTML5 Forms. (2013)
- Main Title:
- Mastering HTML5 Forms.
- Other Names:
- Gupta, Gaurav
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Forms and their Significance; Understanding web forms; Benefits; HTML versus HTML5 forms; The form types, elements, and attributes; The types; The elements; The attributes; Building an HTML5 form; Guidelines; Summary; Chapter 2: Validation of Forms; Form validation; Client-side form validation; Server-side form validation; HTML5 form validation; Code 1 -- validating a textbox using JavaScript. Code 2 -- validating a textbox using HTML5 controlsConstraint 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; Error messages; Summary; Chapter 3: Styling the Forms; CSS3 for web forms; Selectors and pseudo-selectors. BackgroundsThe background-clip property; Syntax; Values; The background-origin property; Syntax; Values; The background-size property; Syntax; Values; The background-color property; The background-repeat property; The background-attachment property; Borders; The border-radius property; Syntax; Values; The box-shadow property; Syntax; Values; The border-image property; Syntax; Values;Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Forms and their Significance; Understanding web forms; Benefits; HTML versus HTML5 forms; The form types, elements, and attributes; The types; The elements; The attributes; Building an HTML5 form; Guidelines; Summary; Chapter 2: Validation of Forms; Form validation; Client-side form validation; Server-side form validation; HTML5 form validation; Code 1 -- validating a textbox using JavaScript. Code 2 -- validating a textbox using HTML5 controlsConstraint 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; Error messages; Summary; Chapter 3: Styling the Forms; CSS3 for web forms; Selectors and pseudo-selectors. BackgroundsThe background-clip property; Syntax; Values; The background-origin property; Syntax; Values; The background-size property; Syntax; Values; The background-color property; The background-repeat property; The background-attachment property; Borders; The border-radius property; Syntax; Values; The box-shadow property; Syntax; Values; The border-image property; Syntax; Values; Text effects; The text-shadow property; Syntax; The word-wrap property; Syntax; Values; Fonts; The @font-face rule; Syntax; Font descriptors; The src font descriptor; The font-style font descriptor. The font-stretch font descriptorThe font-family font descriptor; The unicode-range font descriptor; The font-weight descriptor; Gradients; Syntax; Values; Styling the forms; Guidelines; Summary; Chapter 4: Connection with Database; PHP; Syntax; Form handling; The GET method; The POST method; The filter method; Validating user input data; Sanitizing user input data; The FILTER_CALLBACK filter; Filter multiple inputs; MySQL; MySQL for PHP; MySQL-PHP connectivity; Open a connection to the MySQL server; Close a connection; Create or select a database; Create a database; Select a database. Create a tablePrimary keys; Spoofing and forging forms; Forging HTTP requests; Spoofing submission; Shared secrets; Setting expectations; Linking form to a server; Summary; Chapter 5: Responsive Web Forms; Responsive design; Google's view about responsive design; Benefits of using responsive design; How responsive design works; Screen resolutions; Viewport; Media queries; Media types; Internal media query; External media query; Media features; Different screen resolutions; Small screen devices; High resolution displays of Apple mobile devices; Devices in landscape and portrait modes. … (more)
- Publisher Details:
- Place of publication not identified : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource
- Subjects:
- 006.74
COMPUTERS -- Web -- Web Programming
Cascading style sheets
HTML (Document markup language)
Hypertext systems
Web sites -- Design
COMPUTERS -- General
Cascading style sheets
HTML (Document markup language)
Hypertext systems
Web sites -- Design
COMPUTERS -- Programming -- Open Source
Electronic books - Languages:
- English
- ISBNs:
- 1306155533
9781306155533
1782164677
9781782164678 - Related ISBNs:
- 1782164669
9781782164661 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86695
- Ingest File:
- 01_107.xml