Wednesday, March 29, 2006

Hyperlinks in Posts and Comments

A commenter left a comment about not being able to make hyperlinks work correctly using Blogger's editor.

I use about three different browsers, and Blogger's editor supports each one to a different degree. The result being that I often find myself hand-coding things like hyperlinks - not because it's easier, but I've simply memorized the pattern.

The basic form of a hyperlink looks like this:

<a href="http://crystalgaze2.blogspot.com">Cracked Crystal Ball II</a>


The quoted string after "href=" is the actual URL (this MUST be contained in quotes, or the browser will have a hissy fit about it)

The text between the > symbol and the </a> (anchor tag close) will appear as the link itself when the viewer looks at the page.

It's a basic HTML anchor tag, and most blog comment engines will let you slide them into your comments and postings quite freely. (Certainly blogger, haloscan and typepad all allow this)

No comments:

Charter Challenges Of An Anti-Transgender Law

This is part of a series on potential paths of legal challenge for anti-transgender laws in Canada:  Anti-Transgender Laws Are Jim Crow Laws...