Answers for "target link 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

Browse Popular Code Answers by Language