Good afternoon to everyone please help me here I am building a Tribute page
but the figure caption not working properly
<div id="img-div">
<figure>
<img id="image" src="mandela-featured-image1.png" alt="The anti-apartheid leader">
<figcaption id="img-caption">
South African anti-apartheid revolutionary, political leader,
and philanthropist who served as President of South Africa from 1994 to 1999
</figcaption>
</figure>
</div>
The HTML appears to be correct, so something else must be causing your problem. Can you link your codepen? Without seeing your code there’s not much more that can be said.
Hello sorry I was writing the code first on my laptop before starting dropping the code in my code pen, now I want to use it can you tell me how it works? I already sign up.