Logo image and H1 heading on the same line
===

I wanna create my first web page but encountered a problem.

I have the following code:
    
    <img src="img/logo.png" alt="logo" />
    <h1>My website name</h1>

I want to know how to make the logo and the H1 to be in the same line.
Thanks!