# [Tex/LaTex] How tell hyperref to insert a “target” in the resulting \href

hyperref

I am using the hyperref package to insert links to websites in my documents.

The Adobe reader opens a new tab for each link in the PDF, and that is what I want.

Next I want to get the same behavior when I generate HTML using some LaTeX to HTML converter. I am using plasTeX.

How do I tell hyperref via \href{site}{text}that I want the HTML code to have a target="blank" inside the

<a href="site">text</a>


in the resulting HTML?

hyperref can open new browser tabs/windows if the target is another PDF document. This is done using the \href feature pdfnewwindow. No similar feature exists in hyperref to open new tabs\windows for http or https web addresses. See Make hyperref links open in new browser window for easier navigation for clarification and further information.