{"id":80014,"date":"2026-05-11T11:33:45","date_gmt":"2026-05-11T11:33:45","guid":{"rendered":"https:\/\/www.arimetrics.com\/?post_type=encyclopedia&#038;p=80014"},"modified":"2026-09-20T10:06:10","modified_gmt":"2026-09-20T10:06:10","slug":"target-blank-link","status":"publish","type":"encyclopedia","link":"https:\/\/www.arimetrics.com\/en\/digital-glossary\/target-blank-link","title":{"rendered":"Target blank link"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.arimetrics.com\/wp-content\/uploads\/2026\/09\/target-blank-link-square.png\" alt=\"Target blank link\" class=\"boxpad wp-image-80019 size-full alignright\" style=\"margin-top:0;\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.arimetrics.com\/wp-content\/uploads\/2026\/09\/target-blank-link-square.png 300w, https:\/\/www.arimetrics.com\/wp-content\/uploads\/2026\/09\/target-blank-link-square-150x150.png 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><strong>Definition:<\/strong><\/p>\n<p>A <strong>target blank link<\/strong> is an HTML hyperlink whose <code>&lt;a&gt;<\/code> element includes the <code>target=\"_blank\"<\/code> attribute. This value asks the browser to open the destination in a new browsing context, commonly a tab, although browser settings may result in a window instead.<\/p>\n<p><strong><code>target=\"_blank\"<\/code> does not turn a hyperlink into an external link or change its destination.<\/strong> The attribute controls where the URL opens; other attributes, such as <code>rel<\/code>, describe the relationship with the destination or apply additional measures.<\/p>\n\n<h2>How a target blank link works<\/h2>\n<p>A <a href=\"https:\/\/www.arimetrics.com\/en\/digital-glossary\/hyperlink\">hyperlink<\/a> uses <code>href<\/code> to specify its destination URL. The <code>target<\/code> attribute determines the context in which it should load:<\/p>\n<ul>\n<li><strong><code>_self<\/code>:<\/strong> Opens the destination in the current context and is the default behaviour.<\/li>\n<li><strong><code>_blank<\/code>:<\/strong> Requests a new context, usually a separate tab.<\/li>\n<li><strong>Custom name:<\/strong> Allows several links to address the same browsing context identified by that name.<\/li>\n<\/ul>\n<p>A basic example is <code>&lt;a href=\"https:\/\/example.com\" target=\"_blank\"&gt;Resource&lt;\/a&gt;<\/code>. The browser keeps the original page open while the user moves to the new context to view the destination.<\/p>\n<p><strong>The final behaviour depends on the browser and user preferences.<\/strong> The specification does not guarantee that the destination will always appear in a tab rather than a window.<\/p>\n<h2>Target blank link security<\/h2>\n<p>Historically, a page opened through <code>_blank<\/code> could access its source page through <code>window.opener<\/code>. A malicious destination could attempt to modify it, a technique related to reverse tabnabbing.<\/p>\n<p>The relevant <code>rel<\/code> values perform different functions:<\/p>\n<ul>\n<li><strong><code>noopener<\/code>:<\/strong> Prevents the new context from accessing the source page&#8217;s <code>window.opener<\/code> object.<\/li>\n<li><strong>Implicit behaviour:<\/strong> Modern browsers give links with <code>target=\"_blank\"<\/code> isolation equivalent to <code>rel=\"noopener\"<\/code>.<\/li>\n<li><strong><code>noreferrer<\/code>:<\/strong> Also prevents the HTTP <code>Referer<\/code> header from being sent and implies <code>noopener<\/code> behaviour.<\/li>\n<\/ul>\n<p>MDN&#8217;s <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Reference\/Elements\/a#target\" target=\"_blank\" rel=\"noopener\"><code>&lt;a&gt;<\/code> element reference<\/a> documents the current implicit <code>noopener<\/code> behaviour. <strong>Writing <code>rel=\"noopener\"<\/code> explicitly may still provide clarity and compatibility, but <code>noreferrer<\/code> should not be added automatically<\/strong> when referral information needs to be retained.<\/p>\n<h2>Target blank link accessibility<\/h2>\n<p>Opening a tab unexpectedly may disorient someone who expects to remain in the same context. It also changes the usual Back button behaviour and may be particularly confusing with screen readers or keyboard navigation.<\/p>\n<p>To maintain predictable behaviour:<\/p>\n<ul>\n<li><strong>Keep the same context by default:<\/strong> Most links should open in the current tab and allow the user to choose another.<\/li>\n<li><strong>Announce the change:<\/strong> When a new tab is forced, the link text or an accessible indication should communicate it.<\/li>\n<li><strong>Avoid repeated openings:<\/strong> A sequence of <code>_blank<\/code> links may create numerous tabs and make orientation more difficult.<\/li>\n<\/ul>\n<p>Keeping the original page open may be useful for particular tools, forms or supplementary resources. <strong>The decision needs to reflect the navigation flow rather than a rule that automatically opens every external link in a new tab.<\/strong><\/p>\n<h2>Target blank link measurement<\/h2>\n<p>The attribute does not prevent click measurement, but the context change and <code>rel<\/code> values may affect the available data:<\/p>\n<ul>\n<li><strong>Click events:<\/strong> The interaction can be recorded before the browser opens the new context.<\/li>\n<li><strong>Referral information:<\/strong> <code>target=\"_blank\"<\/code> does not remove the <code>Referer<\/code> by itself; <code>rel=\"noreferrer\"<\/code> can do so.<\/li>\n<li><strong>Session interpretation:<\/strong> Keeping the original page open may affect metrics such as recorded time and does not necessarily demonstrate greater interest.<\/li>\n<\/ul>\n<p>Campaign parameters included in the URL continue to work when the destination receives them. The choice of <code>_blank<\/code> needs to remain separate from analytics configuration and referral policy.<\/p>\n<h2>SEO scope of a target blank link<\/h2>\n<p><strong><code>target=\"_blank\"<\/code> is not a direct ranking factor and does not by itself increase or reduce the authority passed through a link.<\/strong> Search engines can discover the destination through <code>href<\/code> regardless of the browsing context.<\/p>\n<p>Several decisions need to be distinguished:<\/p>\n<ul>\n<li><strong>Crawling:<\/strong> An HTML link with a valid <code>href<\/code> remains crawlable when it includes <code>_blank<\/code>.<\/li>\n<li><strong>Linked text:<\/strong> The <a href=\"https:\/\/www.arimetrics.com\/en\/digital-glossary\/anchor-text\">anchor text<\/a> continues to describe the destination.<\/li>\n<li><strong>Link qualification:<\/strong> Values such as <code>nofollow<\/code>, <code>sponsored<\/code> and <code>ugc<\/code> belong to <code>rel<\/code> and are neither substitutes for nor consequences of <code>_blank<\/code>.<\/li>\n<\/ul>\n<p>A <a href=\"https:\/\/www.arimetrics.com\/en\/digital-glossary\/nofollow-link\">nofollow link<\/a> expresses a different relationship. <strong>Opening a new tab is a navigation decision and should not be used to classify a link for search engines.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What a target blank link is, how target=&#8221;_blank&#8221; works and what it means for security, accessibility, measurement and SEO.<\/p>\n","protected":false},"author":36,"featured_media":80021,"template":"","encyclopedia-tag":[1269],"class_list":["post-80014","encyclopedia","type-encyclopedia","status-publish","has-post-thumbnail","hentry","encyclopedia-tag-html-structure"],"_links":{"self":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/encyclopedia\/80014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/encyclopedia"}],"about":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/types\/encyclopedia"}],"author":[{"embeddable":true,"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/users\/36"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/media\/80021"}],"wp:attachment":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/media?parent=80014"}],"wp:term":[{"taxonomy":"encyclopedia-tag","embeddable":true,"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/encyclopedia-tag?post=80014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}