Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to apply hyperlink targets to a frame in html

+2 votes
asked Feb 12, 2021 by Subhan Saheb Shaik (140 points)

1 Answer

0 votes
answered Feb 13, 2021 by KKN (1,110 points)

Using the "target="

When making a link, you can choose where you want to go,

Example:

<a href="#" target="(name of iframe)">Click</a>

Btw, if you use 

target=_blank

It will just open in a new tab.

Hope this helped,

~ KKN =]

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...