I have seen many salaried class people say that we took up home loan to save tax...Its a good idea but not always.
When taking a loan understand that your net interest paid get reduced to save extent notionally by the tax you save. If your HRA benefits are greater than loss from house property , you should weigh both options carefully to take a decision. If you are staying in a house bought on loan , its not a real asset which generates income for you. Also, don't go over board in taking a loan. When taking a loan , if your EMI exceeds 25% of your net pay think twice before you take the home loan.