traget attribute in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

traget attribute in html

does undrescore after specfying target attribute is essenstial . i get the same output in absence of underscore in blank defination of target attribute

28th Nov 2016, 7:33 AM
Rahul Bansal
Rahul Bansal - avatar
3 Answers
+ 2
it's specified in html standards. You could make your own targets with the name blank but not _blank cause it's not allowed here
28th Nov 2016, 8:19 AM
Kamil
Kamil - avatar
0
<a href="#" target="_blank"></a> - Open link in new page <a href="#"></a> - Open link here, in this page
28th Nov 2016, 11:45 AM
alexyork
alexyork - avatar
0
Ok understood @kamil thanks for your help
2nd Oct 2017, 7:46 PM
Rahul Bansal
Rahul Bansal - avatar