Novice question about html code

In my html code, the text “Some content” is before the image. But why is the order reversed on my GitHub Page? Thanks.

If I look at the page the text and image are rendered on the same line. And because the image is way higher than the characters, it starts higher up.

If you want the image below the text, put the text in a paragraph element <p> (which would be good anyway), like so:

<p>Some content.</p>
<img src="">

That way the text will render as a separate paragraph above the image.