How to open links in already opened tab/window in browsers


I have a link on my html page as shown below.
<a href="" target="_blank">Apple</a>

Open in new window

This link will open a dictionary site page showing the meaning of the word "Apple" on a new blank browser tab/window.

And I also have a second link on my html page as shown below.
<a href="" target="_blank">Orange</a>

Open in new window

This second link will open another blank browser window and show the meaning of the word "Orange".

But, what I want to achieve is when the user click the second link, I want the link to open the dictionary site web page on the same tab which has already been opened when the user clicked the first link (Apple). I don't want the 20 (word) links on my web page to open 20 tabs/browser windows.
So, I tried to specify target something like "Orange - definition of literal in..." but because part of the URL has been changed (from Apple to Orange), I don't know how to make it work.

Please explain to me how to achieve this.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michael FowlerSolutions ConsultantCommented:
Name the target. This way you can reuse the window

<a href="" target="def">Apple</a>
<a href="" target="def">Orange</a>

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZKM128Author Commented:
Thank you very much. I didn't know I could use partial link target name.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.