I’m developing a web site and I to show something like this:

My current html code is this:
<body>
<div id="about">
<img src="images/aboutCardIcon.png"/>
<span>About</span>
</div>
</body>
Is this html code correct? Can I use span tag?
How can I center in the middle About text?
I would use the
<figure>and<figcaption>elements which are perfect for what you’re trying (html5).Here’s an example
The code used
HTML
CSS
Most of the CSS is purely cosmetic, the important parts are the floats places on the image and the
<figcaption>, and the set height and line-height on the<figcaption>.P.S. the reason I made it white and not black like your example, is because the image I chose had a black background, and I didn’t want it to look hideous. 🙂