Chapter 14. Forms

<feature><title>What You’ll Learn in This Hour:</title>
  • The structure of HTML forms and how they interact with CSS rules

  • How to style labels, field sets, and legends

  • How to style text input fields

  • How to style Submit and Reset buttons

  • How to style check boxes and radio buttons

  • How to style pull-down selectors and selection lists

  • Which style properties are supported for HTML form elements

The HTML language provides a <form> element that can be used to gather information interactively from the user, either for submission to the web server or for processing with JavaScript. These forms can be styled with CSS rules, although variable browser support makes it an uncertain proposition. In this hour, you’ll learn about which types of styles ...

Get Sams Teach Yourself CSS 24 in Hours 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.