How open in a new Tab for PageReference?
To open the URL in a new Tab for PageReference, kindly use <apex:commandLink/>. Sample Code: Visualforce page: <apex:page controller="Sample"> <apex:form > <apex:pageblock > <apex:commandlink action="{!openSearch}" target="_blank" style="text-decoration:none;"> ....