You would do the same thing with the <img> or <a> tag and then make it fire a JavaScript function that hides the other <div> by altering the display property to none.