Home
HTML
HTML Links
Tryit: HTML link target
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h2>The target Attribute</h2> <a href="https://www.w3schools.com/" target="_blank">Visit W3Schools!</a> <p>If target="_blank", the link will open in a new browser window or tab.</p> </body> </html>