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?

1st Jun 2019, 8:11 AM
M∆π∆$
M∆π∆$ - avatar
5 ответов
+ 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.
1st Jun 2019, 10:17 AM
PanicS
PanicS - avatar
+ 4
`_self`, which is also the default if you don't specify any target.
1st Jun 2019, 8:13 AM
Schindlabua
Schindlabua - avatar
+ 2
Hmmm
30th Sep 2019, 10:11 PM
Ella
Ella - avatar
0
Just don't set target
9th Sep 2020, 2:02 AM
Aviral Tanmay
Aviral Tanmay - avatar
- 2
Can you write a code in which the target is not specified?(I want to know which part you have to leave empty)
1st Jun 2019, 8:28 AM
M∆π∆$
M∆π∆$ - avatar