I am trying to show a DIV only on the home page. Right now I am trying to add an image to the DIV. It shows text just fine. I am using the following code but only the alt text shows up no image.
<!–my static header experiment 08_07_08 –>
<?php if (is_home())
echo ‘<div id=”mystatic”>
<img src=”images/siteimages/static1.jpg” alt=”horses collage 1″ />
I am just learning all of this so I am open to suggestions.
- The topic ‘alt text showing but not image’ is closed to new replies.