Early Access

HTML Tag Collections

Social Share

Tags used to enhance the URL previews when sharing your site on social media platforms.

Get Started

<meta property="og:url" content="https://example.com/page.html">
<meta property="og:title" content="The Ultimate Guide to Freshwater Fishing">
<meta property="og:description" content="Discover the top 10 SEO strategies to boost your website's traffic in 2023. Click to learn more!">
<meta property="og:type" content="article">
<meta property="og:locale" content="en_US">
<meta property="og:site_name" content="ExampleCorp">
<meta property="og:image" content="https://example.com/og-image.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="600">
<meta property="og:image:alt" content="Team collaborating on a web development project">
<meta name="twitter:image" content="https://example.com/path/to/image.jpg">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@contentcreator">
<meta name="twitter:site" content="@exampleUser">
<meta name="twitter:label1" content="Author">
<meta name="twitter:data1" content="42K Tweets">
<meta name="twitter:label2" content="Location">
<meta name="twitter:data2" content="30 mins">

Explanation

og:url

property

Defines the canonical URL of your page that will be used as its permanent ID in the graph. It's crucial for ensuring content consistency across sharing on social platforms.

<meta property="og:url" content="https://example.com/page.html">
Specifies the absolute URL of the page, ensuring social platforms can accurately identify and link back to the content.

og:title

property

Defines the title of your content as you want it to appear when shared on social platforms. The og:title meta tag is part of the Open Graph protocol and is crucial for social media SEO, as it determines the title text that appears when a page is shared on social platforms like Facebook, LinkedIn, and Twitter.

<meta property="og:title" content="The Ultimate Guide to Freshwater Fishing">
A descriptive and enticing og:title that promises value and fits well within the character limits of most social platforms.

Defines the description of your content as you want it to appear when shared on social platforms like Facebook, LinkedIn, and others that adhere to the Open Graph protocol.

<meta property="og:description" content="Discover the top 10 SEO strategies to boost your website's traffic in 2023. Click to learn more!">
This is concise, actionable, and provides a clear benefit, encouraging users to click through.

og:type

property

Defines the type of content being shared on social media platforms, such as articles, videos, or images. This tag helps social platforms understand and display the content in the most appropriate format.

<meta property="og:type" content="article">
Best for blog posts or news articles, helping social platforms present the content with emphasis on the title and author.

og:locale

property

Defines the locale of the page content. This tag helps social media platforms and other services understand the language and regional settings to use when displaying or categorizing the shared content.

<meta property="og:locale" content="en_US">
Specifies that the content is intended for English speakers in the United States.

og:site_name

property

Indicates the name of your website that should be displayed within the context of the shared content on social media platforms. It helps reinforce brand consistency across various social networks.

<meta property="og:site_name" content="ExampleCorp">
Specifies a clear, consistent site name, enhancing brand recognition in social shares.

og:image

property

Defines the image that appears when a web page is shared on social media platforms. It ensures the shared content is visually appealing and contextually relevant, enhancing click-through rates from social shares.

<meta property="og:image" content="https://example.com/og-image.jpg">
Specifies a well-optimized, properly sized image with the recommended aspect ratio, ideal for sharing across various social media platforms.

Specifies the width of the image used in the Open Graph protocol, helping social media platforms and other services understand the dimensions of the image to properly display it when the page is shared.

<meta property="og:image:width" content="1200">
Indicates the width of the associated Open Graph image is 1200 pixels, a recommended width for high-resolution displays on most social platforms.

Specifies the height of the image in pixels used when sharing the page on social media platforms like Facebook. This helps the platform allocate the correct space for the image before it's fully loaded.

<meta property="og:image:height" content="600">
Specifies the image’s height as 600 pixels, a typical value that fits within most social platforms’ guidelines.

og:image:alt

property

Provides alternative text for the image specified by og:image, ensuring it is accessible and descriptive of the image content for scenarios where the image cannot be displayed.

<meta property="og:image:alt" content="Team collaborating on a web development project">
Describes the content of the image in a way that provides context and relevance to the page or article.

Defines the image to be used when the webpage is shared on Twitter. It influences the visual representation of shared content, enhancing user engagement.

<meta name="twitter:image" content="https://example.com/path/to/image.jpg">
Using an absolute URL for an optimized, high-quality image encourages users to engage with the shared content.

Defines the type of content represented on the page to create a rich media experience when the page is shared on Twitter.

<meta name="twitter:card" content="summary_large_image">
Ideal for blog posts or articles where a large feature image can draw attention.

Defines the Twitter username of the content creator to be displayed as part of Twitter Card metadata.

<meta name="twitter:creator" content="@contentcreator">
Correctly identifies the Twitter handle of the individual content creator.

Defines the Twitter username of the website or the content creator. This username is displayed in Twitter cards associated with the website or content to indicate the source. It begins with an @ symbol.

<meta name="twitter:site" content="@exampleUser">
Correctly starts with @ and matches the user’s Twitter username exactly.

Used within Twitter card metadata to define the label for data displayed in tweet cards generated from shared URLs. It's typically used in conjunction with `twitter:data1` to showcase specific types of information, enhancing social sharing.

<meta name="twitter:label1" content="Author">
Specifies that the accompanying `twitter:data1` tag will display the article’s author name, providing clear context for the data.

Part of Twitter Cards, used to define extra data that will be visually presented in the card. Often used to provide additional context like statistics, or relevant information that can enhance the user’s understanding at a glance.

<meta name="twitter:data1" content="42K Tweets">
Quantitative data example for "twitter:data1" used with a label like "Engagement", effectively showing the volume of tweets about a topic.

Defines the label for the second data point displayed in a Twitter Card, often used alongside "twitter:data2" to provide additional context or information.

<meta name="twitter:label2" content="Location">
Use "Location" as "twitter:label2" with a corresponding "twitter:data2" value like "San Francisco, CA" to specify the location relevant to the Twitter Card content.

Used in Twitter Cards to provide additional data points or context relevant to the content shared on Twitter, enhancing the information displayed in the card.

<meta name="twitter:data2" content="30 mins">
Provides an additional data point for "twitter:data1" which might contain an article title, indicating the estimated reading time for the content.

HTML Tag Collections

Ready to use <head> code samples to get started, and finished quickly.