Open link in new tab of browser from PDF file
<p>I have created the PDF file programmatically. For this, I have used the HTML to PDF converting library. In my PDF there are some links for some pages of website. </p>

<p>I have implemented the html by following way and then converted it to PDF programmatically.  </p>

<pre><code>&lt;a target="_blank" href="http://mywebsite_url_here.html"&gt;Link&lt;/a&gt;
</code></pre>

<p>But when opening this PDF into chrome or firefox browser and clicking on the any link exist in PDF. Links are opening is same TAB instead of the new TAB. Please help to find out the solution for this. so that my PDF reside in one tab and link will open in another tab in browser.</p>

<p>I have already tried </p>

<pre><code>target="_blank"

target="_top"

&lt;a onclick="window.open ('http://mywebsite_url_here.html', ''); 
 return false" href="javascript:void(0);"&gt;&lt;/a&gt;
</code></pre>

<p>But nothing has worked for me.</p>