heres my code please someone help me to rectify it when i click on the button it opens the link in new tab and shift the focus on new tab but i want the focus to be remained on the original tab
<a <?php if($offerlink != '') echo 'target="_blank"';?> href="<?php echo $offerlink; ?>" class="input button red secondary responsive toggle_coupon">
<?php echo $button;?>
</a>
<span class="input button border high secondary responsive hidden_coupon">
<?php echo $code;?>
</span>
<?php }
elseif($url != '') {
$offerlink = home_url('/') . '?visit-offer=' . $post->ID; ?>
<a target="_blank" href="<?php echo $offerlink; ?>" class="input button blue secondary responsive">
<?php _e('Visit offer', 'Couponize');?>
</a>