Friday, October 21, 2011

How to Put a Link in Your Blogspot Comments

Over the years Blogspot has made it easier for bloggers to automatically insert links and pictures, etc. without knowing HTML.  But they haven't done that for commenters.  In the last couple of days I've had comments with long url's in them.  It's not that hard to put in the link.  (When I wanted to write this post before, I couldn't write the HTML without blogspot interpreting the code.  Now they have an option (in Post Settings, Options, Compose mode, Show HTML literally.)  So, here goes.

The basic code is:

<a href="[put url here]">[words that will be linked]</a>

So, between the "quotation marks", insert the url you want to send people to.  Between the > < put the text you want to have the link.  You might just want to have the url itself linked.

Sample Code

Check out <a href= "http://www.tomasserrano.com/index.html">Tomás' new website</a>.

When blogspot publishes your comment (and in the preview mode) it should look like this:

Check out Tomás' new website.  

(You really should check out his new website.)



[Note for the technically curious:  I was afraid I wouldn't be able to have both "Show HTML literally" and "Interpret typed HTML in the same post.  After all, if I changed the setting under options, wouldn't that change it for the whole page?  So I copied the whole post and then I went into HTML mode to do the line above and it seems to have worked.]

8 comments:

  1. thanks, Steve! I never knew how to do this and have wished I did

    ReplyDelete
  2. RMS - I deleted two comments from another post this morning because they just said 'nice' and had links to their websites. Violation of my comments policy. But I'm leaving yours because, while it does take us back to your website, it does it using the idea in the post itself. Clever. I like it.

    Glad it helped. It's always nice to know that people find something useful here.

    ReplyDelete
  3. Replies
    1. It's work! But sometimes I see some blog doesn't show HTML tag, why?

      Delete
  4. Its rather helpful for linking is quite the important part of blogging. Sometimes these tags create a lot of problem. cheap gatwick parking

    ReplyDelete

Comments will be reviewed, not for content (except ads), but for style. Comments with personal insults, rambling tirades, and significant repetition will be deleted. Ads disguised as comments, unless closely related to the post and of value to readers (my call) will be deleted. Click here to learn to put links in your comment.