My web page includes a bunch of links that are generated via php. These are links to mp3 files, and right now when I click on them the sound starts playing in a new tab. How can I add a script so that all links start playing the source sound directly in the same tab when clicked (and stop when re-clicked)? Apologies in advance for a possibly stupid question, but please have mercy as I am very new to all of these things.
<a href="url1" target="_blank">value1</a>
<a href="url2" target="_blank">value2</a>
<a href="url3" target="_blank">value3</a>