May 4, 2012

External Links and Opening Links in a New Tab

    An external link is a hyperlink that directs users somewhere outside the current domain. For instance the domain in this blog is bloggersbazaar.blogspot.com, so any link that directs the user besides the aforementioned domain would be considered an external link.

    Opening external links in a new tab is a good practice, because first of all, once your readers click on an external link they won't instantly leave your blog, thus giving them a quick way to get back to what they were reading in you blog. By default, links in blogger will automatically open on the current tab, in which replaces your blog with the external link that the visitor has clicked.

    A simple line of code should cause the anchor tags to open in a new tab. Adding the following code in red within your anchor tags would be necessary to let them open in new tabs once they are clicked. You can also replace the "_Blank" with "new" to open pages in a new window.

Open in New Tab
Code:
<a href="URL" target="_Blank">Link</a>


Recommended Readings:
ADDING ICONS TO EXTERNAL LINKS

No comments:

Post a Comment