Open all links in new tabs
We all know that setting the
target="_blank" attribute to an individual link will open it in a new tab.
It's uncommon to see a real use case where you want all links on the page to be opened in a new tab. A site that only collects links of external resources might be an example.
In that case, rather than adding the attribute to all links, you just set it to the
<base target="_blank" />