How to open a web application in a new tab by clicking on a particular element in javascript?

In javascript, how can I open a web application in a new tab by clicking on a specific element?

Hi Mark,

User need to inject the target tag on the element so that a new web page will open in the new tab please refer below mentioned snippet:

    const link = driver.findElement(By.xpath("/html/body/a[3]"));    
//link is the web element on which user needs to click
     driver.executeScript("arguments[0].target='_self';",link);        
//injecting target
     link.click();