Meta 标签生成器
Paste these tags into the <head> section of your HTML.
常见问题
Everything you need to know about meta tags and Open Graph
Open Graph 标签是什么?
Open Graph meta tags (og:) are a protocol introduced by Facebook that lets you control how a page appears when shared on social media. They define the title, description, image and content type shown in the link preview on Facebook, LinkedIn, WhatsApp and many other platforms.
What size should the Open Graph image be?
推荐尺寸是 1200×630 像素,比例为 1.91:1。图片应小于 8 MB,并用以 https:// 开头的绝对地址指定。使用这个尺寸时,Twitter/X 会自动显示大图卡片。
这些 meta 标签该放在哪里?
Meta tags go inside the <head> section of the HTML document, before the closing </head>. They are read by search engines and social network crawlers when the page is indexed or shared. After updating them, use the official debugging tools (Facebook Sharing Debugger, Twitter Card Validator) to force a cache refresh.
什么是 Open Graph meta 标签?
它们决定一个页面被分享时如何呈现:标题、描述、图片和内容类型。Facebook、LinkedIn、WhatsApp 和 Telegram 生成预览时就读这几行。
为什么社交平台还显示旧的预览?
因为每个平台都会缓存第一次读到的内容。改完标签之后,要用社交平台的调试工具请求重新抓取,否则留下来的还是旧版本。