Using Custom Data Attributes and Pseudo-Elements
Manoela IlicManoela Ilic shows how to (ab)use custom data attributes and pseudo-elements for creating image captions. Keep in mind that this tutorial serves only as an example for using data attributes and pseudo-elements, and not a recommendation on how to do your markup.