

There’s quite a lot going on there more than a standard tag with its href="" attribute! You’d write the HTML out in full: This is a paragraph of text with a link in it.


The good news is that Markdown allows you to write HTML inside of it, so where you’d normally write a link like this: This is a paragraph of text ( ). It also means that you can’t use good old Markdown for your links (unless you’re using one of a handful of ‘flavours’ of Markdown, like Kramdown). I’ll put it right out there: this is arduous. Getting every link to open in a new tab can be done by hand or programmatically. Let’s say we’re going to go for it: in design, consistency is important, so every external link should open in a new browser tab.įirst, we have to consider the implementation, and then there are the user experience implications. instead of repeating “tab or window” for ease of reading, but also because opening in a new tab, rather than window, is the default behaviour for most web browsers. Their rationale is that it keeps users on their website (blog, digital product, etc.) but, as with most things in web design, it’s not as simple as it seems. I’ve had several very similar conversations with clients and stakeholders over the years about opening links to other websites in a new tab or window.
