Agyan
adda
Run
Reset
Copy
HTML Tutorial › HTML Images › Figure with caption
Back to tutorial
Code
Edit, then press Run or Ctrl+Enter
<figure> <img src="https://www.w3schools.com/html/pic_trulli.jpg" alt="Trulli houses" width="240"> <figcaption>Fig 1. Traditional houses in Italy.</figcaption> </figure>
Result