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