
How do you figure?
Scott O’Hara digs into the and 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. The Starry Night, a famous painting by Vincent van Gogh I intentionally left off the alt text, because the figcaption is saying what I would want to say in the alt text and I thought duplicating it would...
Read More