Or do it cleaner with CSS
How to Align an Image and Text Next to Each Other in HTML and CSS | Wrap Text Around an Image HTML CSS
Do you need the code to wrap text around an image? Normally when you create an HTML page everything flows linearly, meaning one block comes right after the other. All my previous posts are an example of this, i.e. text, then image, then text, etc.
Sometimes you may want to place text next to an image instead of underneath it. This is called wrapping text around the image. It is actually quite simple to wrap text using HTML. Note that you do not need to use CSS to wrap text.
However, nowadays the W3C recommends using CSS instead of HTML for these types of tasks. I will mention both methods below, but if you can, it is better to use CSS, as it is more adaptable to responsive website designs.