Check out example codes for "image with caption css". It will help you in understanding the concepts better.

Code Example 1

<figure>
  
  <img src="pic_trulli.jpg" alt="Trulli" style="width:100%">
  <figcaption>Fig.1 - Trulli, Puglia, Italy.</figcaption>

</figure>

Code Example 2

<figure>
  <img src="pic_trulli.jpg" alt="Trulli" 
    style="width:100%">
  <figcaption>Fig.1 - Trulli, Puglia, 
    Italy.</figcaption>
</figure>

Learn ReactJs, React Native from akashmittal.com