0

Vertically align text next to an image?

<!-- moved "vertical-align:middle" style from span to img -->
<div>
  <img style="vertical-align:middle" src="https://placehold.it/60x60">
  <span style="">Works.</span>
</div>
RUN
add comment
Suggest a different solution or add another example