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