new page target _blank code example Example 1: where to use .target command in html <a target="_blank" href=""> Example 2: href target new window target="_blank"