How to Make Links Open in a New Tab Using HTML

One of my biggest pet peeves on blogs is links that don’t open up in a new tab. Why is that a pet peeve? Let’s say I’m reading a post from one of my favorite bloggers, and they share an awesome link. I’ll click on the link, get absorbed into the cool site the blogger shared, and then will find myself having to push the back button twenty times to get back to the original post. If there’s one thing you don’t want as a blogger, it’s making it inconvenient for your readers to get back to your site.

With just a tiny bit of HTML, you can save your readers from irritation and make sure that they continue to read your whole post, even if you’re sharing tons and tons of links. So switch over from the visual to the HTML editor for your posts and get crackin’!

Here’s what a standard link looks like in HTML:

<a href="http://www.thenerdnest.com">The Nerd Nest</a>

You can use this format to make any link by inserting the link URL in place of http://www.thenerdnest.com and swapping out The Nerd Nest for whatever you want the link to show up as to your readers.

To make the link open in a new tab, you only have to add one extra thing:

<a href="http://www.thenerdnest.com" target="_blank">The Nerd Nest</a>

Just inserting that little target=”_blank” makes such a difference!

Try it out the next time you make a link in your posts! Your readers and I will thank you.

You might also like: