Source

Chif

Dokimantasyon ak egzanp pou montre imaj ki gen rapò ak tèks ak eleman nan figi nan Bootstrap.

Nenpòt lè ou bezwen montre yon moso nan kontni-tankou yon imaj ak yon tit si ou vle, konsidere itilize yon <figure>.

Sèvi ak klas ki enkli ladan .figureyo pou bay kèk estil debaz pou HTML5 ak eleman yo. Imaj nan figi pa gen okenn gwosè klè, kidonk asire w ke ou ajoute klas la nan ou a pou fè li reponn..figure-img.figure-caption<figure><figcaption>.img-fluid<img>

400x300
Yon tit pou imaj ki anwo a.
<figure class="figure">
  <img src=".../400x300" class="figure-img img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure.">
  <figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>

Aliman lejand figi a se fasil ak sèvis piblik tèks nou yo .

400x300
Yon tit pou imaj ki anwo a.
<figure class="figure">
  <img src=".../400x300" class="figure-img img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure.">
  <figcaption class="figure-caption text-right">A caption for the above image.</figcaption>
</figure>