Saturday, April 09, 2005

[Comments] Using HTML code when leaving comments.

Have you noticed how blogger doesn't let you leave a link to your non-blogger blog in the comments section? Annoying huh! Fret not, you can actually easily build a do-it-yourself link to your own blog using a simple piece of code:

photograph picture of html code for blogger comments
(The little square symbol represents a space)

I had to hand write this instruction because I am unable to type it in as an example to show you. Why not? This magic combination of symbols and letters actually creates an html instruction. If I typed it in as I wrote it above, you wouldn't be able to see the instruction because it would have created a link instead, which is what it has been asked to do by the code.

In other words, say you want to sign your comment in Blogger with your name, Sam, but you would like that signature to actually be a link to your blog. Here's how.

Breakdown Follows:
In this example, to create a link to my own blog, I am replacing the symbol you need to use <> with {}. This is so you can see the code without it creating the instruction. If you want to copy this example, just cut and paste it, replace the { with <, replace the } with >, replace the http://becksposhnosh.blogspot.com/ with your own url and the Becks & Posh with your own blog name.

{a href ="http://becksposhnosh.blogspot.com/"}Becks & Posh {/a}

the link itself:
Becks & Posh

Pretty easy when you get the hang of it.

Many, but not all, blog comments accept this kind of behaviour, so you can try it out anywhere and with other things. For example, if you visit another blog and you see they are talking about marshmallows, you want to leave a comment about the marshmallows you made last next month you could write your comment something like this:

Hey I enjoyed reading your marshmallow post its funny because I used the same recipe last month and my marshmallows {a href = "http://myblogname.com/2005/03/marshmallowpost.html"}turned out like this {/a}

(again, relace the {} with <> to make this actually work)
In this example your the words turned out like this would turn a different colour, creating the desired link.

Note - although this will work with many comments, some websites disallow this type of linking in their comments. It will just be trial and error to find out which ones do and which ones don't.

14 comments:

Anonymous said...

You can use escaped characters to show code in HTML. So you can tell folks they need to type:

<a href="blah blah">Blah Blah</a>

&lt; = <

&gt; = >

The only problem is that if you preview your comment or post, blogger will convert for you & you'll be back in the same situation again. However, if you just select "publish your comment", it seems to work fine.

Sarah said...

Hello Sam,

One of the things I like to do when I post a link in either my food blog or comments I make is to allow it to open in another window. You probably know how to do this, but for those who don't here is how it's done (replace the [] with <>):
[a href="blog link" target="_blank"]link text[/a]

Sam said...

Aha - no i didn't know that. but i wanted to know. Thank you Sarah. This is exactly the kind of thing I was hoping for the school to teach me.
I will try it out later.

And also anonymous for the other tip which I will also have to try.
so much to learn!

ejm said...

Many blogs specify which tags are allowed. I see that this one allows:

.........................
You can use some HTML tags, such as <b>, <i>, <a>
...........................

If you add the target="_blank" to the link to make it open in another window, it's also a good idea to put a note about that in the link description itself:

<a href="linkURL" target="_blank">link (opens in a new window)</a>

This means that people who use Mozilla have the option to open the link in a new tab instead of opening up another instance of the browser.

Anonymous said...

thanks for sharing your site. there are lots of ebooks are available here

http://feboook.blogspot.com

qishaya said...

Original christian shoes are first category in alter. They are so much appealing louboutin shoes so, ample of women can not pause to get their hands on them. cheap christian louboutin However, these shoes are not economical. christian louboutin So adequate of women cannot present these shoes. christian louboutin heels Christian Louboutin Replica is presenting the textbook thing for these people. christian louboutin sandals It is present masses of fashionable shoes in an economical rate. christian pumps You know that unique shoes are posh to buy. christian sandals Nevertheless do not think that exchange a shoe with christian louboutin pumps magnificent create of top trait is hard. Now a time model are presented. louboutin pumps But if you hardship attribute cargo look discount christian louboutin for these replicas in a trustworthy position & set an order for your beloved shoes christian louboutin sale

web design Huntsville AL said...

Comments are piece of code which is ignored by any web browser. It is good practice to comment your code, especially in complex documents, to indicate sections of a document, and any other notes to anyone looking at the code. Comments help you and others understand your HTML code.

Patty Panakos said...

An article is very meaningful, I got a lot of knowledge from the inside, here I also share some interesting things, if you would like?
NBA T-Shirts Cheap Wholesale

undangan pernikahan said...

some of people may use another comment form like from disqus or wordpress comment form

tips cara agar cepat hamil said...

it.s good argument for our blogs.i love a blogger comment form betwen wordpress comment form

anabel said...

i agree with you.blogger comment form are simple and easy to use. bimbingan belajar les private di jakarta

NiceThing said...

Snack Kelly wouldn't identity setting up QB.

NiceThing said...

Snack Kelly wouldn't identity setting up QB.
Cheap NFL Jerseys

Revie Hapsari said...

I really appreciate the positive lift I get from your blog. Have a blessed and grace-full day! Jasa Desain Cover Murah