So here's a simple but interesting question, how can I open multiple links using single <a>
element?
Using this only opens the first href
<a href="http://www.google.com" href="http://www.yahoo.com" target="_blank">Click Here</a>
You can certainly try this
<a href="http://www.microsoft.com" target="_blank" onclick="window.open('http://www.google.com'); window.open('http://www.yahoo.com');">Click Here</a>
来源:https://stackoverflow.com/questions/13965753/how-can-i-open-multiple-links-using-a-single-anchor-tag