xxxxxxxxxx
<a href="https://example.com" target="_blank">Visit Example.com</a>
xxxxxxxxxx
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>
xxxxxxxxxx
<!-- 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>
xxxxxxxxxx
link_to "allrecipes", "http://www.allrecipes.com", target: "_blank", class: "p-12 rounded-lg font-bold"