That wasn't what I said. I said you can put the IMG tags one after the other or under each other when you type the HTML. They will show side by side in the browser, just like words. This is because they are
inline elements. You have done something that changes that behaviour.
https://htmlhelp.com/reference/html40/inline.htmlHTML
<body>
<p>
These words will show side by side and so will the images below.</p>
<img src="https://htmlhelp.com/icon/wdglogo.gif" alt="WDG"> <img src="https://htmlhelp.com/icon/wdglogo.gif" alt="WDG"> <img src="https://htmlhelp.com/icon/wdglogo.gif" alt="WDG">
<p>
So
will
these
words
and
these
images.</p>
<img src="https://htmlhelp.com/icon/wdglogo.gif" alt="WDG">
<img src="https://htmlhelp.com/icon/wdglogo.gif" alt="WDG">
<img src="https://htmlhelp.com/icon/wdglogo.gif" alt="WDG">
</body>
Click to view attachment