How to create three images: first left, second centered, third right

Updated: 02/01/2021 by Computer Hope

Creating three images on one line requires a table with three cells, allowing the images to be centered evenly.

Examples

<table width="99%">
<tr>
<td><img src="https://www.computerhope.com/cdn/media/logo-100.png" alt="logo 1"></td>
<td><p align="center"><img src="https://www.computerhope.com/cdn/media/logo-100.png" alt="logo 2"></p></td>
<td align="right"><img src="https://www.computerhope.com/cdn/media/logo-100.png" alt="logo 3"></td>
</tr>
</table>

The code above would result in the images you see below.

logo 1

logo 2

logo 3