Saturday, September 27, 2008

How To Make Links In Your Blog Open In a New Tab

This is just a quick tip for new bloggers who want links in there blog post to open in a new tab when clicked.  The advantage of this is that it will not lead people completely away from your post when they click a link.

Step One: Create a Link
For this method to work you must create a hyperlink, just pasting a URL in your blog content will not work.  An example is this link to my blog.

If you look at the HTML it will look something like this: 

<a href="http://www.outragedpotato.com/">this link<a>

In blogger to look at HTML click the "Edit HTML" tab.

Step Two: Add attribute
Now all you must do is past target="_blank" into the html tag as shown below:

<a href="http://www.outragedpotato.com/" target="_blank">this link<a>

And that is it.  Now when a reader clicks on the link a new tab will open with the link and they will still have your blog open!  Try this link built with the steps above.

0 comments:

 
Add to Technorati Favorites Video Games Blog
Blog Directory