How to set Link Target in HTML
This article mainly explains "how to set link goals in HTML". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to set link goals in HTML.
The target property tells the browser where to open the linked document. Four targets are defined, each starting with an underscore (_) character:
_ blank-Open the linked document in a new window or tab.
_ parent-Open the linked document in the parent window.
_ self- opens the linked document in the same window or tab as the source document. This is the default setting, so it is not necessary to specify this value explicitly.
_ top-opens the linked document in the entire browser window.
Try the following example to understand the basic operation of a link target:
Try this code for example »
About Us
Tip: if your web page is within iframe, you can use the expand iframe on the target= "_ top" link and display the target page in a complete browser window.
Thank you for your reading, the above is the content of "how to set link goals in HTML". After the study of this article, I believe you have a deeper understanding of how to set link goals in HTML, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!