php blog image problem
I'm not sure what to do with this coding:
<a href="#" rel="bookmark" title="Permanent Link to yoursite.com">
<img src="<?php bloginfo('template_directory'); ?>/images/ad1.gif" /></a>
I can put in the first tag, no problem it's straight html but how do I use the second
half?
I know how to use <img src="whatever"> in html, but am I supposed to split the code
like this:
<img src="humptydumpty"><?php bloginfo('template_directory'); ?>/images/egg.gif" />
Or is this part: <?php bloginfo('template_directory'); ?> in the wrong place?
If it was html, here's how I'd handle it:
<img src="humptydumpty.com"/images/egg.gif" />
Hope this makes sense. I've been playing with it all day and my blog isn't finished until I figure this out (with a little help from my friends

Thank you
"It is better to have a permanent income than to be fascinating" ~ Oscar Wilde