Chapter 13
Formatting and Styling Forms
Key Skills & Concepts
    Apply Tables to Forms
    Make Forms More User-Friendly
    Style Forms for Layout
    Style Forms for Client-Side Validation
image
In the previous chapter, you learned the basics of setting up a form on a web page. As you might have guessed, you can use many of the formatting techniques discussed in other chapters to format and style those forms. For example, to add a line break in between a text input field and its label, you could simply add the br element:
image
But what if you wanted ...

Get HTML: A Beginner's Guide, Fifth Edition, 5th 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.