The target attribute | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 2

The target attribute

30th Sep 2017, 7:30 AM
Vendeeta
2 ответов
+ 2
target = '_blank' opens link in new tab/window target = '_self' opens link in current tab/window/frame target = '_parent' opens link in parent frame
30th Sep 2017, 8:36 AM
Kartikey Sahu
Kartikey Sahu - avatar
+ 2
... and target="customWindowName" will open link in a previously opened/named new window object through JS (window.open() method) ^^
30th Sep 2017, 11:27 AM
visph
visph - avatar