Twitter cards can be created by adding meta tags to the HTML code of a website to be shared. The creation of a Twitter card comprises two important steps:
Selecting the card type that suits your content’s requirements.
Adding the specific card type’s meta tags to the webpage HTML code.