opening new webpage

I forgot to thank that guy who gave me the code for opening a webpage
in a new window; I've applied it to quite a lot on my sites, and it
works with .mp4 as well and I should imagine .jpg but how do I make it
work with these type of links?

<a href="baron_riddles_new_1_q.html#r194">


<a href="";>

<a href="";>