Object for generating HTML for hyperlinks
For the suggested use case having an object is an overkill.

As far as I can tell from the code provided, every link is generated only once, which makes class variables; a dedicated method to clean the state; and a code to instantiate an object all unnecessary. So a function would be more appropriate here. 

Besides, as it seems that a code is more intended to create an HTML &lt;a&gt; tag dynamically than to create an URL, and also in order to follow the Single responsibility principle, I would change the list of parameters to just 

hLink('http://example.com/?input=0#section', 'website', '_blank'); 


which will make parameters more sensible and consistent.