📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials HTML Fundamentals Open Graph Tags

Open Graph Tags

4 min read
Open Graph meta tags control social sharing previews. Set og:title, og:description, og:image (minimum 1200x630 pixels), and og:url. Test with Facebook's Sharing Debugger. Images are cached — use the scrape tool to refresh.

Open Graph (Social Media Preview)

<meta property="og:type"        content="website">
<meta property="og:url"         content="https://example.com/page">
<meta property="og:title"       content="Page Title">
<meta property="og:description" content="Page description.">
<meta property="og:image"       content="https://example.com/image.jpg">

<!-- Twitter Card -->
<meta name="twitter:card"  content="summary_large_image">
<meta name="twitter:title" content="Page Title">