Chapter 6 Forms and User Interfaces

Forms are an inescapable part of web design and development. We use them to capture information from our users, to post information to message boards, to add items to shopping carts, and to update our blogs—to name but a few. CSS gives us plenty of options with which to style our forms; however, forms are unlike the other HTML elements that we’ve encountered so far. Form elements—for example, fields, buttons, and any other input element—are included as a “replaced element” in the spec. Replaced elements are those whose appearance is defined by an external source. In the case of form elements, this is the browser or operating system UI. Due to this, user agents can provide interface controls that best ...

Get The CSS3 Anthology, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.