If there is not target attribute what is the default? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

If there is not target attribute what is the default?

2nd Aug 2016, 6:27 PM
LIZ H
LIZ H - avatar
2 Answers
0
The target attribute is used with _blank to create a new page when clicking a link instead of having to transfer the link to your current page. If you want the default way a link can be written, it's just like this: <a href="(enter page URL)" />
3rd Aug 2016, 12:42 PM
Gregory Fernandes
Gregory Fernandes - avatar
0
The default value is _self, te browser open the link in the same page
4th Sep 2016, 2:18 PM
Adil Ela
Adil Ela - avatar