<4>Give your forms some structure—from inline to horizontal to custom grid implementations—with our form layout options.
Forms
Every group of form fields should reside in a < form> element. Bootstrap provides no default styling for the < form> element, but there are some powerful browser features that are provided by default.
Since Bootstrap applies display: block and width: 100% to almost all our form controls, forms will by default stack vertically. Additional classes can be used to vary this layout on a per-form basis.
Utilities
Margin utilities are the easiest way to add some structure to forms. They provide basic grouping of labels, controls, optional form text, and form validation messaging. We recommend sticking to margin-bottom utilities, and using a single direction throughout the form for consistency.
Feel free to build your forms however you like, with