Form layout

Wrap each field in a label with a p caption and the control. The form lays them out in a grid; inputs, selects and textareas share the same styling. No classes needed.

A form

<form>
  <label><p>Login</p><input type="text" name="login" value="ada" placeholder="Login"></label>
  <label><p>Email</p><input type="email" name="email" placeholder="you@example.com"></label>
  <label><p>Password</p><input type="password" name="password"></label>
  <label><p>Group</p>
    <select name="group"><option>Superuser</option><option selected>Editors</option><option>Viewers</option></select>
  </label>
  <label><p>Notes</p><textarea name="notes" placeholder="Anything to add?"></textarea></label>
  <label><input type="checkbox" name="active" checked> Active</label>
  <div class="buttons">
    <button type="button">Save</button>
    <input type="reset" value="Reset">
  </div>
</form>
Text, email, password, a select, a textarea and a checkbox in one form

Fieldset

Group related controls, such as a set of radio buttons, in a fieldset. Its legend names the group.

Permissions
<form>
  <fieldset>
    <legend>Permissions</legend>
    <label><input type="radio" name="role" value="admin" checked> Administrator</label>
    <label><input type="radio" name="role" value="editor"> Editor</label>
    <label><input type="radio" name="role" value="read-only"> Read-only</label>
  </fieldset>
</form>
Three radio buttons in a fieldset with a legend