Twitter Cards are a feature that allows Twitter users to attach media experiences to tweets, such as images, videos, and other content. When a Twitter user tweets a link to a webpage that has Twitter Card tags added to its HTML, the linked content will appear in the tweet in a more engaging format, giving more context and a more visually appealing display.
There are several types of Twitter Cards, including:
Summary Card: This is the most basic type of Twitter Card, it includes a title, description, and thumbnail image. This card type is used for articles, blog posts, and other text-based content.
Summary Card with Large Image: Similar to the Summary Card, but with a larger image. This card type is used for visual content, such as photography and infographics.
Player Card: This card type is used for video and audio content, it includes a video or audio player, as well as a title, description, and thumbnail image.
App Card: This card type is used for promoting mobile apps, it includes a direct download link to the app, as well as a title, description, and thumbnail image.
Gallery Card: This card type is used for displaying a collection of images, it includes a preview of multiple images, as well as a title and description.
Twitter Cards can be added to a webpage by including the appropriate meta tags in the page's HTML. This can be done by website developer, or with some CMS, it's possible to add them with a plugin or an extension.