Javatpoint Logo

91-9990449935

 0120-4256464

Bootstrap Container

In Bootstrap, container is used to set the content's margins dealing with the responsive behaviors of your layout. It contains the row elements and the row elements are the container of columns (known as grid system).

The container class is used to create boxed content.

There are two container classes in Bootstrap:

  1. container
  2. container-fluid

See the basic layout of a container:


Bootstrap container example

Test it Now