Hello all,
Thanks for your replies.
As rehfield pointed towards the fact that some editors may screw up with the code, I opened the code file via notepad and I saw the characters like after each line.
I fixed this and now my code is working fine.
Thanks a lot sir.
(oh! and I was making that DOCTYPE mistake everywhere in my project and it was working fine. Nobody pointed towards it 🙂)
tsinka and rachfield, thanks a lot once more
🙂