Codes are signs or symbols that create meaning in media. There are two types of codes - technical codes, which involve how equipment is used to tell the story through camera work, sound, and lighting, and symbolic codes, which provide deeper meaning through elements like character dress, language, and colors. Conventions are generally accepted formats within a genre, such as the conventions commonly found in horror films like blood, weapons, dark colors, and scary settings.