HTML Tip - Don't Send Readers Away From Your Blog
posted August 8, 2008 - 1:41amtarget="_blank" will open a new browser.
Quite often a writer will cite a reference or incorporate a link to another website into his or her blog for the benefit of their readers.
When posting a link to another site in your blog, it's important to remember that you do not want your reader to leave your blog. Keeping that in mind, here is an easy way to place a text link or a url in your post that will open in a new window instead of whisking your readers off to another website.
Example 1
You want to post a url in your text like this:
I found a link to a free sitemap generator and website submission at www.FreeSEOResources.com.
If you just typed in the url it would be converted to a normal link and when your readers clicked on it, they would be taken away from your page. The new page would load in the same browser window, thus replacing your blog.
In order to keep your blog open and have the link open in a new window, you must place the the proper html code around the link like so:
< a href="http://www.FreeSEOResources.com" target="_blank" >www.FreeSEOResources.com< /a >
The target="_blank" added after the linking code will open the link in another window.
NOTE: For the purpose of illustrating the proper format, a space was added after each < and before each > so that the code would not work. (If the spaces were removed, you would not see the code, only the text that falls in between the > < )
Example 2
You want to insert a text link.
Using the same technique as above you can create a text link, such as referencing the title of an article or a keyword like so:
Everyone should read the post entitled "My Asparagus Farm on Mars." It is a scientific study about the future settlement and subsequent commercialization of the Red Planet.
For this text link you would use the same format as in example 1, but you would place the code around >My Asparagus Farm on Mars<
< a href="http://www.mymarsasparagusfarmstory.com" target="_blank" >My Asparagus Farm on Mars< /a >
NOTE: Remember there are no spaces before or after the < or >
OK, so, is that as clear as mud? If you would like a more detailed HTML code tutorial you can click HERE.


Comments
I'm glad you found it helpful
Great Information
Make a lot of money writing on Xomba. Join Xomba here. View My Profile.
Thanks to my Mystery Readers. I hope the tip was helpful.
Post new comment