I make some web page which the function is to show some image.For the link text of course we use <a href....> and for image link we use <img src....>.
But how if i want to show some images after click some link text ?
<ul>
<li><a href="#"><span>Tulip</span></a></li>
<li><a href="#"><span>Rose</span></a></li>
<li><a href="#"><span>Jasmine</span></a></li>
</ul>
image file is
tulip.jpg
rose.jpg
Jasmine.jpg
You mentioned jQuery in your comment to @James Allardice.
You could do something like this:
HTML
Fiddle: http://jsfiddle.net/jasongennaro/K7pTu/