O'Reilly logo

HTML: A Beginner's Guide, Fifth Edition, 5th Edition by Wendy Willard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required