Scott O'Hara digs into the <figure></figure>
and <figcaption></figcaption>
elements. Gotta love a good ol' HTML deep dive.
I use these on just about every blog post here on CSS-Tricks, and as I've suspected, I've basically been doing it wrong forever. My original thinking was that a figcaption
was just as good as the alt
attribute. I generally use it to describe the image.… Read article