The different types of diction in writing include formal, informal, colloquial, and slang. Formal diction is used in academic and professional writing, while informal diction is used in casual conversations. Colloquial diction is used in regional dialects, and slang is used to express a particular attitude or emotion.