HTML for Commenting

When you are adding a comment to the blog, you do not have access to a WYSIWYG editor but you may still want to be able to bold your text or link to another site in your comment or add an image or add some color to your post. In order to do these things, you need to know a little HTML which is the language that web browsers use to display web pages.

Here are some HTML Tags that you might find useful when adding a comment to the blog:

What You Want To Do Sample of What To Type What This Will Look Like on Your Comment
Make your text bold <strong>This is bold text</strong> This is bold text
Make your text italics <em>This is italicized text</em> This is italicized text
Color your text using the hex codes from w3schools <span style=”color: #FF0000;”>This text is red</style> This text is red
Add a text link so that when you click on a word in your comment it will go to a different website in a new tab <a href=”” target=”_blank”>StM Computer Lab Wiki</a> StM Computer Lab Wiki

You can combine tags so your text could be bold and red and italicized:

<strong><span style=”color: #FF0000;”><em>This is bold, red, italicized text</em></span></strong>
This is bold, red, italicized text

More HTML coming soon! Is there anything you want to know how to do when entering a comment? Leave a reply on this page about what you want to do and we’ll add information about how to do it!

4 thoughts on “HTML for Commenting

  1. Thank you I find this really helpful and will be using this when replying to comments on my blog

Leave a Reply

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