Javatpoint Logo
Javatpoint Logo

Bootstrap carousel

The Bootstrap carousel is a flexible, responsive way that is used to add a slider to your webpage. It is very responsive and flexible enough to allow, images, iframes, videos, or any other type of content that you want to add.

The Carousel Plugin:

The carousel plugin is a component for cycling through element, like a carousel. If you want to add plugin functionality individually, then you have to use carousel.js file or all at once (using "bootstrap.js" or "bootstrap.min.js").

Bootstrap carousel Example

Let's take a carousel example and see how to create a basic carousel.

Test it Now

Bootstrap carousel Example: add captions to slides

If you want to add captions to the slides, then you have to add <div class="carousel-caption"> within each <div class="item"> .

Test it Now



Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA