Friday, November 28, 2008

HTML Tip #1 - Link Tip

Don't let visitors leave your site! When you add a link to your website or blog, the default setting will likely open the new page in the same window. You don't want them to get distracted and not come back to you, so why not insert a teeny bit of code into your page? Here is what you want to add: target="_blank"

1. In editing mode, highlight the text for your link. This will help you find the corresponding information in HTML view.
2. Next, in your editing/compose window, click on something that says "Html."
3. Right after the URL (website address), type target="_blank"

This is what the html for a link to blogger.com would look like without the added code:
href="http://www.blogger.com/">blogger.com

Here it is with the added code:
href="http://www.blogger.com/" target="_blank">blogger.com

Ta Da!

No comments: