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
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:
But what if you wanted ...