Forms can be complex and even irritating for users. These pointers will make form development and design easier for you as a developer or designer. Use the label Element to mark the inputs, the label tag is a natural fit for them. The optgroup is a little-known element that will indent and title choices.

3m read timeFrom devdojo.com
Post cover image
Table of contents
1️⃣ Label fieldset With Legends2️⃣ Use the label Element3️⃣ Name Your Inputs4️⃣ Give Labels the for Attribute5️⃣ Use optgroup to Categorize Options

Sort: