title: Getting anchor tag link to open in new tab when using tag helper
body: <p>Using the new tag helper in asp.net-core-mvc</p>
  
  <pre><code>&lt;a class="custom-social-icon" asp-area="" asp-protocol="https" asp-host="www.youtube.com/mysite" &gt;
      &lt;img src="~/images/youtube.gif" alt="youtube_logo" /&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Is there a setting in the new tag helper that allows the link to open in a new tab? Because you cannot add target="_blank" using this method.</p>
  
  <p>Additionally, when using the tag helper and changing pages, hovering over the icon shows the correct link when using the standard href way (www.youtube.com/mysite) but with the tag helper it adds the page path to the end of the url (www.youtube.com/mysite/Home/Contact). How do you prevent that if using the tag helper?</p>