Legislation under which interest, dividends, or capital gains earned on assets you transfer to your spouse will be treated as your own for tax purposes. Interest or dividends relating to property transferred to children under 18 also will be attributed back to you. The exception to this rule is that capital gains relating to property transferred to children under 18 will not be attributed back to you.