Use the CSS float property to let the image float to the right or to the left of a text
< p>< img src="https://picsum.photos/200/300" alt="random" style="float:right; width:42px; height:42px;">
The image will float to the right of the text.< /p>
< p>< img src="https://picsum.photos/200/300" alt="random" style="float:left; width:42px; height:42px;">
The image will float to the left of the text.< /p>
The image will float to the right of the text.
The image will float to the left of the text.