hooks – Add clickable link to extreme left of header


I am a newbie and would like to have a clickable url on the extreme left of main page header where my logo is at extreme right. I tried the following code but the url appear above and out of the header. Will appreciate your help.

add_action( 'wp_head', function () { ?> 
<div><a href="#" onclick="window.wpo365.pintraRedirect.toMsOnline()">Login</div>