open link new tab html secure code example Example: how to make a link in html that opens in a new tab add attribute : target = "_blank"