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