target | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

target

i really can't understand the use of it...especially target="_blank" ..what and how is this work?

1st Jun 2018, 2:15 PM
anjit pariyar
anjit pariyar - avatar
2 Answers
0
Anchor links1 may have a target attribute which controls what happens when that link is clicked. One of the possible values of that attribute is _blank, which tells the browser to open a new window (or tab, if that's the user's preference) when that link is clicked.
1st Jun 2018, 2:18 PM
MsJ
MsJ - avatar
0
"target" which tells the browser that, "where to open that link" options are, 1.Same Window(default) 2.New Window 3.New Tab
1st Jun 2018, 2:50 PM
Hemath Kumar
Hemath Kumar - avatar