Answers for "a href 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
-1

target _blank on a link_to

link_to "allrecipes", "http://www.allrecipes.com", target: "_blank", class: "p-12 rounded-lg font-bold"
Posted by: Guest on February-19-2021

Browse Popular Code Answers by Language