Blog Basics 2: How to Code Links

tied wire

I found myself this week, teaching someone how to build links for the fifth time in so many months. . . . Yeah, sometimes I’m a little slow at realizing what I should be writing about.

Even if you’re a pro who already knows how to code links, you’re going to meet someone who doesn’t know. Showing someone how can be the start of a relationship. This document explains the how to of building links.

Before I begin, many people know that the quick-and-easy way to make external sidebar links is to use Blogrolling. Fewer know that the javascript of Blogrolling causes a blog to load more slowly or that search engine spiders tend to trip on it.

The healthy blog uses external linking built by hand. It takes longer to build links individually, but it’s not hard. It’s simple formula, fill-in-the-blank. Here’s the code.

The Code

  • Note the space after the first a. Note the quotes around the link.

    <a href=“http://URL”>Link Anchor Text</a >

  • Voila! Get the characters where they go and that code shows this.

    Link Anchor Text

The Code Explained: The Link Itself


If you want to link to the blog itself, put the blog’s home page URL.


If you want to link to a specific post, code a Permalink, the permanent address of the post.


Some blog software offers a link below each post marked Permalink to take you to a post’s permanent address. In some, you get to the permanent address by clicking the title of the post. In Blogger, go inside comments. Once there, go to the top and click the title of the post.

You know you have the Permalink when the address in your browser’s address bar includes words from the title of the post.

The Code Explained: The Anchor Text

The link anchor text is the name or description you give the link. It’s a good thing not to name the same link with the same words every time. Search engines realize that humans are not consistent. See the anchor text I used to link my blog Letting me be . . . in the side bar of this Successful (and Outstanding) Blog for an example.

The little bit of extra time it takes to hand code links is good. It could be just the nudge we need to consider whether a link we’re planning is quality. The Checklist for Linking to Quality Blogs is a great test for making sure the link you’re about to build will add value and serve your readers.

There I go again talking about readers. In the end everything comes down them.

–ME “Liz” Strauss

Related articles:
Blog Review Checklist
Blog Basics 1: Comments and Comment Policies
Great Find: Tlog Blogging Tips Series


  1. says


    I’d like to add something to your ‘how to’, and that is suggesting adding a title=” ” attribute to the link. It not only makes that little bit of explanitory text pop up so we know more about what lurks at the end of the link, but goes a great way toward improving access to your site for “Auditory users” — that is people who are blind, have difficulty seeing, or who are using devices with small or no displays and are therefore unable to scan the page quickly with their eyes.

    If you’re hand coding links anyway, why not go that little bit further and make your site even more accessible? After all, a happy reader = a reader who will return, right?

    Link anchor text

    (For the really accessibility conscious of you, the W3C has Accessibility Guidelines. They look scary, but when you break them down it is mostly common sense).


    (And in case anyone is curious, it’s the same Cas, just with a new site and a new email :) )

  2. says

    Hi Cas,
    Thanks for adding to the post. I actually do put anchor text in my image links, but I don’t put them there for the readers too. I’ve heard about these guidelines before. Maybe you’d like to write a post on them. You up for that?

  3. says

    They’ve got a whole chapter in my thesis, so why on earth not?

    I am so going to regret that comment, but email me :)

    And let’s try this a third time. If you want to add a title attribute to your link code, you need to do it like this (just replace any occurences of [] with the appropriate brackets)

    [a href=”” title=”title description text here”]Link Anchor Text[/a]

  4. says

    Hi Cas,
    You’re on. I’ll email you later.
    Meanwhile Gotcha.
    As my friend Nancy says to me, “Sometimes you are so fast and sometimes you are soooo slooooow.” :)


  5. says

    I’m one of those lazy ones, who uses the Bloglines javascript for my big ol’ blogroll. I’m a bit embarrassed now. I’ll have to think deep thoughts about this subject.

    It’s not that I don’t know how to do it, but just haven’t had the time and haven’t figured out how to make it look good.

    And WordPress makes it pretty easy to do, in the admin area. Heck, I just ain’t got no excuse.

  6. says

    Hey Sabine,
    I know exactly what you mean. I finally just took a Sunday afternoon to do. It was such a good feeling the nextt ime that Blogrolling went down and it didn’t involve me. I have used Blogrolling inside my blog to set up fake categories where blogger doesn’t offer them, but that will be going soon too. When I move to Word Press. I can’t wait for one of those scroll menu things.

  7. says

    I’d like to comment and say something useful but heck, I can’t … this is all second nature to me. Ever since I’ve started using WordPress I’m more and more hardcoding links.

    But I can add that Cas is spot on – it’s a good idea to add a title tag within the link – it’s good for usability issues and adds some more potetnial keyword/phrases.

    Also, if you want the link to open up in a new page add the tag: target=”_blank”

    Finally use a good descriptive Anchor Text (I understand that Google rate it highly) – not “Click Here” as we’ve spoken about in a previous post. There’s not much search engine value from “click here”

  8. says

    Hi Martin,
    There you go saying something useful anyway.
    Well done. You can sleep well tonight. As I’m about to.

    I wanted to say something useful too. But I ended up writing that post instead. :)

  9. says

    Hi Work at Homes!
    I wrote this post when I realized that I had taught someone every month for several months going and that like you I started wondering how to do it. :)

    Thanks for leaving a comment. You’re not a stranger anymore. You’re a friend now. :)

  10. Cheryl says

    I’m learning about making a Webquest. I’m starting with ZERO knowledge and my first priority is to learn how to make those links. What do I need to have, or to do, to get started.
    Thanks large for the help.
    Cheryl :)

  11. says

    Hi Cheryl,
    I remember when I had to learn the same thing. It won’t be long before you are teaching someone. I bet it will be less than six weeks. :)

Leave a Reply

Your email address will not be published. Required fields are marked *