We set out to create an easy, powerful and versatile form layout system. A combination of form styles and the Foundation grid means you can do almost anything.
***
## Building Forms With HTML
Creating a form in Foundation is designed to be easy but extremely flexible. Forms are built with a combination of standard form elements, as well as the Grid (rows and columns).
Form elements in Foundation are styled based on their type attribute rather than a class, and can be sized in a couple of ways:
* You can size inputs using column sizes, like `.large-6`, `.small-6`.
* You can create row elements inside your form and use columns for the form, including inputs, labels and more. Rows inside a form inherit some special padding to even up input spacing.
This is an example form we've created that is laid out using the grid:
HTML
{{> examples_form_basic_rendered}}
Rendered HTML
{{> examples_form_basic}}
### Inline Labels
Sometimes you want a form with labels to the left of your inputs. Piece of cake. You can put the label inside a different column to the left of the input. Then add a class of `.right` to the label to have it align to the right.
HTML
{{> examples_form_inline_labels_rendered}}
Rendered HTML
{{> examples_form_inline_labels}}
Adding a class of `.inline` will have it vertically center against an input. You can use one or both of these classes to accomplish the look you want.
HTML
{{> examples_form_inline_rendered}}
Rendered HTML
{{> examples_form_inline}}
***
### Defining a Fieldset
We don't see them too much, but one of the useful form elements included with Foundation is `