Thursday, November 15, 2012

HTML 101 for bloggers - simple HTML to improve your blog

You don't have to be a computer geek to be able to use some simple HTML to improve your blog by leaps and bounds. Don't be put off by the technical jargon but let me show you some example how you will become a better blogger just by learning minimal HTML and improving on the codes generated while using the
COMPOSE mode.

Update: Please note that Blogger has improved and now if you use the COMPOSE mode, at the bottom of the uploaded picture will be a link to add alt text and title text.

I have already made a post on Anchor text and how to make hyperlink open in new window or tab which has very clear explanation on hyperlinks and how you can easily make them open in new windows and if you have to read that post, you should and it should confirm that you too can easily master the essentials of HTML and how it can help you become a better blogger.

Let us take uploading of a picture as the next example. Many bloggers uses the COMPOSE (VISUAL or WYSIWYG -What You See Is What You Get) mode when uploading which will result in actually being able to see the actual picture in the post editor, but not the codes behind it. Below is an uploaded image:



Using the HTML mode on the other hand will result in a mass of codes which may be incomprehensible to some. However, all you need to do is to concentrate on this little HTML image tag - <img> and ignore the rest for the time being. On changing from COMPOSE mode Compose mode and Edit HTML mode tabs to the EDIT HTML mode will result the display of the picture changing to this bunch of codes (just concentrate on img and the closing bracket /> in red):

<a href="http://3.bp.blogspot.com/-OJtx2nQ8qB4/UJoup7_n2vI/AAAAAAAAEMg/HBFYXdxFtss/s1600/Compose%2Band%2BEdit%2BHTML%2Bmode%2Btags.jpg" imageanchor="1" style=""><img border="0" height="28" width="136" src="http://3.bp.blogspot.com/-OJtx2nQ8qB4/UJoup7_n2vI/AAAAAAAAEMg/HBFYXdxFtss/s200/Compose%2Band%2BEdit%2BHTML%2Bmode%2Btags.jpg" /></a>

Now if for some reason a visitor to your blog is unable to see the picture, what he may see is just an empty box. On the other hand, if you had just added a simple attribute alt="some text" where alt is short for alternate and the text should be descriptive of the picture, the visitor will see that text instead of an empty box so will not be left in puzzlement.

Also, a blind or visually impaired visitor who can't see images but using a screen reader will hear the alt text read out and thus not be left in the dark.

Another advantage of adding the alt attribute is to help search engines understand what the picture is all about and this will improve the SEO (search engine optimization) of your post or blog, will improve SEO and will probably help bring more traffic to your blog via the image search.

So on adding the alt="text descriptive of picture" we will get the audited codes as follows:

<a href="http://3.bp.blogspot.com/-OJtx2nQ8qB4/UJoup7_n2vI/AAAAAAAAEMg/HBFYXdxFtss/s1600/Compose%2Band%2BEdit%2BHTML%2Bmode%2Btags.jpg" imageanchor="1" style=""><img border="0" height="28" width="136" src="http://3.bp.blogspot.com/-OJtx2nQ8qB4/UJoup7_n2vI/AAAAAAAAEMg/HBFYXdxFtss/s200/Compose%2Band%2BEdit%2BHTML%2Bmode%2Btags.jpg" alt="text descriptive of picture" /></a>

So not too difficult after all if one just concentrate on the basic.




4 comments:

  1. thanks for kind information this is very useful to make a better blog.
    thanks a lot fir share this.

    technical4u.com

    ReplyDelete
    Replies
    1. hi friend please help me to improve my blog
      www.smart-jobz.blogspot.com

      Delete
  2. Thanks, Peter! I've been away from blogging, for too long, and am in the process of renovating. As usual, I'll make real use of the great info available here.

    Thank you!

    ~ Wendy

    ReplyDelete
  3. No doubt html is very much nessary for bloggers. Thanks for sharing simple tips

    ReplyDelete

Find help, info, instructions, tips, tricks

Tip: Use search box below or this box, labels in the first right sidebar, archive, ctrl+F for this page or sitemap to find topics