Answers for "link in html code target _blank"

1

link_to target blank

link_to "External link", "http://www.rubyonrails.org/", target: "_blank", rel: "nofollow"
# => <a href="http://www.rubyonrails.org/" target="_blank" rel="nofollow">External link</a>
Posted by: Guest on December-10-2020
0

html target blank

<!-- target="_blank" can expose your site to performance and security issues -->
<!-- Adding rel="noopener" or rel="noreferrer" avoids these issues -->
<a href="https://www.google.com" target="_blank" rel="noopener">google</a>
Posted by: Guest on March-28-2022

Browse Popular Code Answers by Language