We have a holiday home in Spain but it is not as simple as it sounds.
To be fair, we didn't buy it as an investment or income but as a holiday home for us, family and friends to use, as and when.
Its been a dream of ours for the last 20 years and we have waited a long time for this.
I think the key to it all is 'location, location, location' just like in England! If you plan to buy an apartment alongside hundreds of other apartments, all being rented out, you will find it hard to realise a good rental income from it. the rental season is very short anyway (school holidays and the summer season). Of course, it depends on where you plan to buy.....
The taxes do add up... far more than you first think. For instance in Spain, you have to pay tax on rental income even if you don't rent it out! Admittedly its only a nominal amount!
However, the apartment next door to us has just sold for 100,000 euros more than we paid for ours 18 months ago so we did make the right choice about the location.
Good luck with it!