I'm having trouble replacing the title of my blog with a logo. I've narrowed it down to this line, but I'm not sure exactly how to enter the code. For reference, my logo is in images/logo.gif.
From my header.php file:
<?php if (is_home()) echo('<h1 id="title">'); else echo('<div id="title">');?><a href="<?php bloginfo('url'); ?> "><?php bloginfo('name'); ?></a><?php if (is_home()) echo('</h1>'); else echo('</div>');?>
I would also like alt text on the logo. Anyone able to help me out?