Web Analytics Made
Easy - StatCounter

HTML: How to get images and text on the same line.

It took a while to pull up from the depths of memory this – how to get an image and text on the same line in HTML. Sounds easy, right? And really it is, when you remember. Something like

Illustration of an image and then text next to it

This is how you do it, with the ‘align’ tag:

<a href="url"><img src="img-src-url" alt="RSS" style="width:20px;height:20px;" align=left>Subscribe</a>

© Amy Tabb 2018-2020. All rights reserved. The contents of this site reflect my personal perspectives and not those of any other entity.