How can I program the following code to open the link in a new window
<button class="btn" onclick="location.href='mylink.com'" target='_blanK'>

</button>
target='_blanK'> doesn't seem to work for this coding., can you please point me in the right direction to solve this issue.
Thank you for your continued support.
