target attribute
1. Grammar
< a href="#" target="value"></a>
2. Attribute value
1._blank
<a href="document.html" target="_blank">my document</a>
The browser will open a new window to display the document.html document
2._parent <a href="document.html" target="_parent">my document</a>
2._parent <a href="document.html" target="_parent">my document</a>
指向父frameset文档
3._self <a href="document.html" target="_self">my document</a>
3._self <a href="document.html" target="_self">my document</a>
Load the document into the current page frame
4._top <a href="document.html" target="_top">my document</a>
4._top <a href="document.html" target="_top">my document</a>
Remove all page frames and replace the frameset document with document.html
Tip 1: Make someone else's page frame unable to reference your web page, add in the file header: <base target="_top">
Tip 2: Open the connection on the current page or do a refresh, submit to the current page and add in the file header: <base target="_self">