Secret ingredients to quality software


Do you make external links open on a new tab?

Last updated by Brady Stroud [SSW] on 18 Apr 2021 10:47 pm (about 2 months ago) See History

External links should open in a new tab (by using HTML's target="_blank"). Since browsers implemented tabs (replacing new window), it's considered a good practice to open external links in a different tab.

Main reasons are:

  • Avoiding 'Back-Button Fatigue';
  • Keeping 'User Flow';
  • Keeping a good track of Analytics
<a href="">Support</a>

Figure: Bad example - External link opening on the same tab

<a href="" target="_blank">Support</a>

Figure: Good example - External link opening in a new tab 

Adam CoganAdam Cogan
Tiago AraujoTiago Araujo

We open source. This page is on GitHub