Minimising your tax bill is legal and sensible. To get it right, you need to make sure that your investments are held in the right hands, in the right 'wrapper', and that the benefit you get from them (whether income or capital gain) arrives in your hands at the right time.