![]()
Surely no one can call you a ‘dummie’ if you have one or two html tricks up your sleeves. You may have noticed that many comment boxes state:
“ some HTML allowed: img code em strong ul ol li “
This gives you the go-ahead to use html codes to make your comments stand out even more. This post gives samples for these seven sweet and simple tags.
| <img src=”http://your image url here”> |
| <code> Your html/css code here </code> |
| <em> words to make italics here </em> |
| <strong> words to make bold here </strong> |
| <ul>your line items here </ul> |
| <ol>your line items here </ol> |
| <li>line item</li> |
Each example shows what you type directly into the comment form and how it appears after you press the Submit button.
Add an image
Every want to add a photo to a BlogCatalog discussion? What about inserting one in a comment you leave on someone’s blog? Just use the ‘img‘ tag, substituting your image url in the src=” ” attribute. Your image must exist already on a publicly accessible host. Unless there is a preview feature, you will not see the image until you submit the comment. So make sure it’s not that photo you keep forgetting to destroy!
EXAMPLE -To show our logo image:
Hi everyone this our header logo
<img src=”http://bloggingwithsuccess.net/wp-content/uploads/2009/03/logo-bws1.png”>
This is what readers see:
Hi everyone this our header logo![]() |
Add preformatted html code
Sometimes you want to show html code in the comment. This tag tells the website editor to not use it as html, but display the text version. Everything between the opening code and end tag is ignored. This requirement is common in tuturial posts, where you want the tags to be plain text that readers can copy and paste into their html editors.
EXAMPLE - I want to tell a discussion group how to add an image:
Use this tag to display your logo, substituting your url for mine:
<code>
<img src=”http://bloggingwithsuccess.net/wp-content/uploads/2009/03/logo-bws1.png”>
</code>
This is what readers see:
| Use this tag to display your logo, substituting your url for mine: <img src=”http://bloggingwithsuccess.net/wp-content/uploads/2009/03/logo-bws1.png”> |
Add Emphasis to selected words
The two codes ‘em’ and ’strong’ work the same way to add ‘emphasis’ or ’strongness’ to words in your text. The rest of us call this italics and bold!
EXAMPLE -Emphasize and strengthen certain words:
I could not <em>emphasis</em> this any more, you must be <strong>stronger</strong> in your approach!
This is what readers see:
| I could not emphasis this any more, you must be stronger in your approach! |
Add numbered or bulleted lists
Not many of us will use this, but here the mechanics are the same. First decide if you want your points in an ordered (‘ol’) or unordered (‘ul’) list. Each requires a matching end tag and line items for the list (‘li’).
EXAMPLE -an unordered list with 2 elements:
My list consists of <ul>
<li>First things first</li>
<li>Second things next</li>
</ul>
This is what readers see:
My list consists of
|
That’s it. You’ll be smart to learn a few of these tricks. For more detail, read our background on CSS/HTML for the beginners. Give it a try and let us know how it worked.








{ 1 trackback }
{ 15 comments… read them below or add one }
Would you believe that I actually understood this? There’s hope for me yet!
Y E S !
This is an informative post. I know the codes well, but I’m sure many out there don’t. You can make your comment stand out from the rest.
Thanks for sharing this
Appreciate your feedback. You’re well on your way to branding your comments — distinctive gravatar!
Can we do those HTML tips here on your site? Just wondering.
Thanks for sharing them, btw. There are actually sites that don’t offer this feature, which is quite a bummer. I think allowing HTML codes on the comments field is a big help for the commenters. It helps them emphasize or organize their comments.
Well ‘wonder’ no more! We just added a note on the comment form listing our allowed tags. As I told another reader, most blogs permit some html even if not stated in their form. Thanks for stopping by.
I never knew html tags do work in comments form as well. This is something new and interesting. By doing so, the comment may grab the attention of its readers.
The basic tags will work on most blogs even if the comment form (like ours) does not list the valid tags. Normally the link tag (a href=) is excluded since links are discouraged in comments text (considered spam unless relevant to the post not for promotion.) On most forums and discussion boards if you type the full url it’s converted automatically to a clickable link. Using the full url as the link words avoids any surprises in text links that users could make up!
From my experience, most WP blogs and Blogspot blogs let you leave HTML.
Thanks for your valuable tips just learnt how to use HTML effectively in comment section of blogs.
Hey Thanks for the post. I never used HTML codes in comments. Comments will look attractive. I will surely try .
Thanks for an informative post. HTML codes in comments wil look attractive.
I will certainly try HTML codes in comment, Comments would be eye-catching ones
Very interesting article and well structured. If you are interested in sharing tutorials via my site please get in touch.
Thnaks again take care
I appreciate the feedback and offer! Thanks. Will take a look.