carouselcaption
Add captions to your slides easily with the <carouselcaption> element within any <carouselitem>. Place just about any optional HTML within there and it will be automatically aligned and formatted.
The <carouselitem> tag also accepts a caption attribute which will automatically add a <carouselcaption>, so there is only any need for using <carouselcaption> directly if you are using more than plain text for your caption.
- Example
- <b:carouselcaption>... </b:carouselcaption>
- Output
- <div class="carousel-caption">...</div>
Tag Information | |
---|---|
Tag Class | org.bootstrapjsp.tags.core.carousel.CarouselCaption |
Body Content | scriptless |
Dynamic Attributes | true |