Ads 468x60px

Pages

Sunday, October 21, 2007

Make active (clickable) links in posts and comments

I am quite sure I publish a post on this subject before but just can't seem to find it, so doing it again. You can find out how to do it at How to make a clickable link, but that is a long post and include using the tool bar in the Blogger post editor, with the information on the HTML for hyperlink at the bottom of the post, I think.

This post will just focus on HTML for hyperlinks and is for everybody, not just Blogger users. This is how you should type your HTML:

<a href="URL of target site">anchor text</a>

If you are not familiar with URL, go to
What is URL and how you can get it.

The word "anchor tex" is a description (the title of a blog, post, anything you like) and is what will be displayed on a browser. For example, the HTML for the hyperlink to the precursor of this blog should be type as

<a href="http://bloggerfordummies.blogspot.com" target="_blank">Blogger for Dummies</a>

and in a browser, will appear as

Blogger for Dummies

UPDATE: Attributes like target="_blank" are not allowed in comments. Only a limited numbers of HTML tags are allowed in comments including <a> <b>, <i>

"Blogger for Dummies" is the anchor text and is important for the search engine uses it to figure out what is the target site (the site you are linking to) is all about. People who practice SEO (Search Engine Optimization) try to put suitable keywords (words surfers are likely to use to search for content) in the anchor text.

You may notice an extra target="_blank". This is to make clicking on the link open a new window. You can also use target="new". However, the use of target="_blank" has been deprecated. It still works, but we don't know about the future.

0 comments:

Post a Comment