0

What is the HTML attribute for a tag whenever I want to open a new page?

Let me be more specific: There are different attributs for the href tag (I believe it is this one, I'm not entirely sure) which, whenever you press the link, opens up the webpage in said link in a new tab, new window or in the same window you are working on.

17th Jan 2017, 7:46 AM
Jesus Reynaldo Campos Martinez
Jesus Reynaldo Campos Martinez - avatar
1 ответ
+ 6
<a target="_blank" href="....your link...."/a> opens your link in a new tab. Be aware that there is a vulnerability that can be prevented by adding rel="noopener" or rel="noreference". it will prevent your new opened tab to redirect to a potentially malicious page of origin.
17th Jan 2017, 8:21 AM
seamiki
seamiki - avatar