Thanks for the link.
Thanks. It was such a silly error. I had put clear instead of .clear in my code. As soon as I changed it, I was able to display the paragraph below the floated image.
But I have a doubt.
Inline elements, like <img>, aren't allowed to be children of <body>.
Also you should remove the slash from the <img>. You're using HTML, not XHTML.
I was only following the example given in the book. If it is not allowed, why is it mentioned in the book like that? Can anybody clear my doubt?