To align labels and form controls on the same line, Bootstrap uses the '___' class.

  • form-horizontal
  • form-inline
  • form-group
  • form-align
In Bootstrap, the form-inline class is used to align labels and form controls on the same line. This class is particularly useful when you want a more compact and horizontally aligned form layout. The form-horizontal class is used for a different purpose, and form-group is a general class for grouping form elements but not specifically for alignment. form-align is a fictional class.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *