Chapter 6. Interface Components

Interface components is my term for the common user interface (UI) elements that HTML provides, such as lists and forms. Other common UI components include drop-down menus and popup overlays, and while HTML does not provide specific elements for them, I’ll demonstrate how to mark up and style them, too.

I’ll also show you how to write these components in a reusable way so that you don’t have to code them from scratch every time, and can add them to a library of style sheets that you can easily fine tune for each project.

Image A bonus chapter on tables and lists basics, complete with sample code, is available for download ...

Get Stylin’ with CSS: A Designer’s Guide, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.