HTML Links | Sololearn: Learn to code for FREE!

0

HTML Links

If we want a link to open in a different webpage the we use target="_blank" attribute but if we want it to open in the same webpage then what is the procedure for that?

6/1/2019 8:11:16 AM

M∆π∆$

5 Answers

New Answer

+13

<a href="link" > target is not specified, default is _self <a href="link" target="_self"> - will open link in same tab So you dont writte target at all.

+4

`_self`, which is also the default if you don't specify any target.

+2

Hmmm

0

Just don't set target

-2

Can you write a code in which the target is not specified?(I want to know which part you have to leave empty)