O'Reilly logo

Internet & World Wide Web: How to Program, Fifth Edition by Abbey Deitel, Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3. Introduction to HTML5: Part 2

Form ever follows function.

—Louis Sullivan

I listen and give input only if somebody asks.

—Barbara Bush

Objectives

In this chapter you’ll:

• Build a form using the new HTML5 input types.

• Specify an input element in a form as the one that should receive the focus by default.

• Use self-validating input elements.

• Specify temporary placeholder text in various input elements

• Use autocomplete input elements that help users reenter text that they’ve previously entered in a form.

• Use a datalist to specify a list of values that can be entered in an input element and to autocomplete entries as the user types.

• Use HTML5’s new page-structure elements to delineate parts of a page, including headers, sections, figures, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required