How to improve your website’s preview cards on sites like LinkedIn.

The Intro

You may have noticed that when you host a personal project and share it on LinkedIn or on most social networks, it usually doesn’t show a description, title, or an image. And it typically looks something like this..

This short tutorial will help you create preview cards for sites like LinkedIn so it can end up looking like this:

Alt text of image

The How-To

Here are 2 steps and resources that helped me create my first LinkedIn preview cards:

  1. LinkedIn looks at the <meta> tags inside the HTML’s <head> tags but it also looks for the meta tags that are “Open Graph Protocol” type. Below are the tags you will need to add inside the HTML <head> tags. You can read more about the Open Graph Protocol: here .

<meta property='og:title' content="My Title"/>
<meta property='og:image' content="URL to the image you want in the preview, LinkedIn recommends a 1.91:1 ratio (1200x627px)"/>
<meta property='og:description' content="This should be a very short description"/>

Enter fullscreen mode

Exit fullscreen mode

2.After Step 1 is completed, utilize LinkedIn’s Post Inspector to see how it looks. Here is the link to the Post Inspector : (

An Example

Here is what my code looks like:

<!DOCTYPE html>
<html lang="en">
    <link href="" rel="stylesheet">
    <script src="script.js" async></script>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="preconnect" href="">
<link rel="preconnect" href="" crossorigin>
<link href="" rel="stylesheet">
    <title>Kid's Halloween Memory Card Game</title>
    <meta property='og:title' content="Kids Halloween Memory Card Game"/>
   <meta property='og:image' content="Assets/Images/preview3.png"/>
   <meta property='og:description' content="A fun Halloween themed Kids Memory Card Game. The game has animations and music which kids will enjoy!"/>
Enter fullscreen mode

Exit fullscreen mode

The End

I enjoy sharing my knowledge and I hope this will help you with your LinkedIn cards! 🎉


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

A React Native CLI app that includes base components like Text, Animation, Refreshing, Text Input, etc

Synthesizing Dynamic Talking Face With Implicit Attribute Learning