Book Image

HTML5 iPhone Web Application Development

By : Alvin Crespo
Book Image

HTML5 iPhone Web Application Development

By: Alvin Crespo

Overview of this book

<p>Create compelling web applications specifically tailored for distribution on iOS Safari. Work through real world examples with references, and in-depth discussions on the approach; including its benefits and drawbacks.<br /><br />"HTML5 iPhone Web Application Development" strives to teach all levels of developers, beginners and professionals, the process of creating web applications for iOS Safari. Utilizing current industry standards for frontend development, learn to take advantage of HTML5, CSS3 and JavaScript to create compelling software.<br /><br />Start with reviewing current industry standards for frontend development, and end with creating a native application using the same codebase.</p> <p>Your journey will begin with an overview of current industry standards for frontend technology, quickly moving to solve real world issues; from creating a resizable or responsive gallery, to creating a single page application that utilizes the popular Backbone.js framework.</p> <p>"HTML5 iPhone Web Application Development" aims to make you an expert in developing web applications for the iOS Safari platform.</p>
Table of Contents (17 chapters)
HTML5 iPhone Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

HTML5 attributes for forms


There are many attributes we can use in HTML5, but to keep this part simple we'll focus on the new attributes we can use on inputs and forms alike. The following attributes are defined in the latest HTML5 specification, except for autocapitalize, and are also supported on iOS:

Input attributes

Description

autocapitalize

Specifies the auto-capitalization behavior of text elements.

autocomplete

Specifies whether the element represents an input control for which a UA is meant to store the value entered by the user (so that the UA can prefill the form later).

min

The expected lower bound for the element's value.

max

The expected upper bound for the element's value.

multiple

Specifies that the element allows multiple values.

placeholder

A short hint (one word or a short phrase) intended to aid the user when entering data into the control represented by its element.

required

Specifies that the element is a required part of form submission...