How to put texts below an image? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

How to put texts below an image?

In this code, how can I put texts below the images? https://code.sololearn.com/WVSLzQ89TEUy/?ref=app

13th Sep 2021, 4:03 PM
Dipro Biswas
2 Réponses
+ 2
U can use <figcaption> tag <figure>   <img src="https://1.bp.blogspot.com/-zskpyMCVyU8/YTQ-wWUkpjI/AAAAAAAADHQ/6DGYZKEZ2Bcz6AE7yHABQemrwkPVx194QCLcBGAsYHQ/s738/images%2B%25286%2529%2B%25288%2529.jpeg" width="30%" height="20%">   <figcaption>Fig.1 - Example </figcaption> </figure> same with others
13th Sep 2021, 4:07 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
HrCoder but if i do that then then the images also go below another image. How to fix this?
13th Sep 2021, 4:13 PM
Dipro Biswas