Friday, July 6, 2018

How to Post an Active Link in a Comment

Hi everyone! I thought I would share this with you since it was something that took me a little while of searching to figure out.  Sometimes when you comment on a blog post you might want to include a link to another site (or to shamelessly plug your own blog post 😉)

One option is to just paste the Uniform Resource Locator (URL) also known as the web address for the destination site.  A lot of information is contained in the URL and sometimes these web address can get long.  Not only can they be long but they can also be ugly and not very helpful to inform your readers of what it is they are clicking on.  And sometimes, depending on the forum, the long URL you paste is not automatically converted into an active link for readers to click on and instead they have to copy and paste the text into a web browser to go there.  This is not ideal.

A better solution is to insert a snippet of Hyper Text Markup Language (HTML) code to hide that web address behind some appropriate text that you define.  If you are trying to drive traffic to your site you want to make it as easy as possible for people to get there.  An active link gives readers a better description of where the link is taking them and it keeps your comment post nice and neat.

Below is the little bit of coding magic to make it all happen.  To use this code, copy and paste it into your comment field.  Replace the BLUE text with the full URL of the destination page.  Replace the GREEN text with what you want the active link to say.

<a href="http://emn8675.blogspot.com/2018/07/how-to-post-an-active-link-in-a-comment.html">Check out my blog post on active links in comment posts!</a> 

And that's it! When your comment is posted, the HTML code will be rendered as an active link that readers can click on, like this: Check out my blog post on active links in comment posts!

Give it a try and comment on this post with a link to your blog!

3 comments:

  1. Erick, you're so nice! I am sure this is very helpful to the rest of the class. It's the simple and easy things like these that people often overlook. But, a big thanks to you for writing a dedicated post for it. Highly appreciated. Here's me trying the code you shared:

    Using Google Tools To Make Your Classrooms Fun

    ReplyDelete
  2. This is super helpful. I really appreciate the advice on how to link something in the comments. Even if some of us what to shamelessly plug our own blog posts. I do think it is a good idea especially if we want to share resources that we all discover during this class.

    ReplyDelete
  3. I'm glad you both found the post useful. I was actually surprised that Blogger did not have the capability to insert active links an easier way; but at least it can properly render HTML to achieve the same end result. I'm still working on figuring out how to add emojis to comments : )

    ReplyDelete