CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>Link Target Attribute</title> </head> <body> <h2>HTML Link Target attribute</h2> This link opens in the same tab. <a href="https://www.tutsinsider.com/html" target="_self">Learn HTML</a> This link opens in a new tab. <a href="https://www.tutsinsider.com/html" target="_blank">Visit HTML Tutorial</a> Onclick this link opens in the parent frame. <a href="https://www.tutsinsider.com/html" target="_parent">Go and Learn Some HTML</a> Opens the link in full body of the window. <a href="https://www.tutsinsider.com/html" target="_top">Learn Some HTML</a> The link will opens in a named frame. <a href="https://www.tutsinsider.com/html" target="name of specific iframe">Go to HTML</a> </body> </html>