<button class="carousel-control-prev" type="button" data-target="#carouselExampleControls" data-slide="prev"> Previous </button> <button class="carousel-control-next" type="button" data-target="#carouselExampleControls" data-slide="next"> Next </button>