Murach's HTML5 and CSS3
How to work with forms
Many web pages use forms for user interactions like buying
a product, signing up for a newsletter, or asking for information.
So this chapter begins by showing you how to create
user-friendly forms.
In the past, JavaScript routines were commonly used to check data for accuracy as the user entered it. But HTML5 offers new features for data validation that don't require JavaScript. It also offers new form controls that improve user accessibility. So this chapter covers those topics as well.
|
|
|
|
How to create a form |
318 |
|
How to use buttons |
320 |
|
How to use text fields |
322 |
|
How to use radio buttons and
check boxes |
324 |
|
How to use drop-down lists |
326 |
|
How to use list boxes |
328 |
|
How to use text areas |
330 |
|
How to use labels |
332 |
|
How to group controls with fieldset and legend elements |
334 |
|
How to use a file upload control |
336 |
|
|
How to align controls |
338 |
|
How to format controls |
340 |
|
How to set the tab order and assign access keys |
342 |
|
|
The HTML5 attributes and CSS3 selectors for data validation |
344 |
|
How to use regular expressions for data validation |
346 |
|
How to use a datalist to present entry options |
348 |
|
|
How to use the email, url, and tel controls |
350 |
|
How to use the number and range controls |
352 |
|
How to use the date and time controls |
354 |
|
How to use the search control for a search function |
356 |
|
How to use the color control |
358 |
|
How to use the output element to display output data |
360 |
|
How to use the progress and meter elements to display output data |
362 |
|
|
The page layout |
364 |
|
The HTML |
366 |
|
The CSS |
368 |
|
|
|
|
|
|
© Copyright 1998-
Mike Murach & Associates, Inc. All rights reserved.
|