Named link target: one link reuses one browsing context
<a href="blank.html" target="blank.html">Blank page</a>
Click repeatedly. The live preview below simulates the named browser tab being opened once, then refreshed.
No tab opened yet
Click the link to open blank.html.
Refresh count: 0Different target values create independent browsing contexts
<a href="blank.html?s=1" target="blank.html?s=1">Blank page?s=1</a>
<a href="blank.html?s=2" target="blank.html?s=2">Blank page?s=2</a>
Each unique target name gets its own simulated tab, so these two links refresh separately.
Same custom target: several URLs share one search tab
<a href="blank.html?s=1" target="_search">Blank page?s=1</a>
<a href="blank.html?s=2" target="_search">Blank page?s=2</a>
Both links point to different URLs, but the shared target="_search" keeps them in the same simulated tab.
No search tab opened yet
Click either link to load a URL into _search.
Refresh count: 0Forms can also reuse a named target
<form action="blank.html" target="_search">
<input name="q" value="css target">
<button>Search</button>
</form>
Submit different search terms. The form keeps using the same named target instead of creating duplicate tabs.
No form result opened yet
Submit the form to load blank.html?q=css+target.
Submit count: 0Special target keywords still keep their built-in meanings
<!-- _self loads in the current browsing context. -->
<a href="#current-section" target="_self">Open in this page</a>
<!-- _blank usually opens a new tab or window. -->
<a href="blank.html" target="_blank">Open a fresh tab</a>
The first link jumps to this result area. The second demonstrates the idea of a fresh unnamed tab.
Waiting for interaction
Click one of the two links above.
Fresh _blank clicks: 0