Wi-Fi connection with iphone 5 without sim card?

I must admit that I do not know much about the iphones or any other smart phones. I would like to purchase an iphone 5. I do not intend joining any plans. I have broadband Wi-Fi at home. Can someone tell me if I can surf the internet at home or at hotspots ( eg. Starbucks, McDonalds ) with an iphone 5 without inserting a sim card.

You should be able to yes.

Makes no sense to buy an iPhone to not use as a phone. Might as well buy the iPod touch instead if that's your intent. Much cheaper.

Yes you could use Wi-Fi without the SIM.