in case anyone was wondering no you don’t that works just fine
wow just after I post this I figure it out. I’m so sorry!
the answer is that it needs to be <img src"<?php bloginfo('template_directory')?>/img/logo.png" alt="" />
I swear coding sometimes
the ” should be ‘