I want to be able to create a button that when clicked, redirects the user to an external website on a different tab. Currently, the code that I have here:
st.write(f'''<a target="_self" href="{activity["productUrl"]}">
<button>
Book this event!
</button>
</a>''',
unsafe_allow_html=True
)
does not redirect to a new tab. Instead, it redirects on the same tab, interrupting the user session. Is there any code I can use to fix this?