UK law firms can deduct various expenses, including employee salaries, rent, office supplies, marketing costs, professional development expenses, and research materials, when calculating their taxable income.