Sometimes when constructing your website, you need to add content (text) with pictures. Learning to wrap text around the image can make your site look more professional to the visitor. Most publications aligned images even long before the internet even existed. You can change the alignment by using the “float” property in CSS (cascading style sheets), and doing this inline with the image property:

<img src=”path/to/image.jpg” style=”float: left;” alt=”information to describe your image” />Text is here….

The above example will place the image on the left side of the screen, and the text will “wrap” around it to the right of the picture.

Feel Free to Share!

Leave a Reply

Your email address will not be published. Required fields are marked *