Skip to content
学习 衡量 博客 Case studies 关于
本页内容
  • Lighthouse 描述标签审计失败的原因
  • 描述标签最佳实践
  • 资源

文档没有描述标签

May 2, 2019 — 更新日期 Apr 8, 2021
Available in: Español, 日本語, 한국어, Português, Русский, English
Appears in: SEO 审核
本页内容
  • Lighthouse 描述标签审计失败的原因
  • 描述标签最佳实践
  • 资源

<meta name="description"> 元素提供搜索引擎在搜索结果中展示的页面内容摘要。高质量、独特的描述标签可以提高您的网页相关性,提高您的搜索流量。

Lighthouse 描述标签审计失败的原因 #

Lighthouse 会标记出没有描述标签的页面:

显示文档没有描述标签的 Lighthouse 审计

若出现以下情况,审计将失败:

  • 页面没有设置 <meta name=description> 元素。
  • <meta name=description> 元素的 content 属性为空。

Lighthouse 并不会评估描述的质量。

Each SEO audit is weighted equally in the Lighthouse SEO Score, except for the manual Structured data is valid audit. Learn more in the Lighthouse Scoring Guide.

如何添加描述标签 #

为每个页面的 <head> 添加 <meta name=description> 元素:

<meta name="description" content="Put your description here.">

如适用,请在描述中提供明确标记的事实。例如:

<meta name="description" content="Author: A.N. Author,
Illustrator: P. Picture, Category: Books, Price: $17.99,
Length: 784 pages"
>

描述标签最佳实践 #

  • 为每个页面使用唯一的描述。
  • 使描述尽量清晰简洁。避免诸如“主页”之类的模糊描述。
  • 避免关键字堆砌。这对用户没有帮助,搜索引擎可能会将页面标记为垃圾信息。
  • 描述不必是完整的句子;它们可以包含结构化数据。

下面列出了优秀与不合格的描述示例:

错误做法

<meta name="description" content="A donut recipe.">
太模糊了。

正确做法

<meta
name="description"
content="Mary's simple recipe for maple bacon donuts
makes a sticky, sweet treat with just a hint
of salt that you'll keep coming back for."
>
内容明确而简洁。

要查看更多技巧,请参阅 Google 的《在搜索结果中创建优秀的标题和摘要》一文。

资源 #

  • 文档没有描述标签审计的源代码
  • 在搜索结果中创建优秀的标题和摘要
  • 不相关的关键词
Last updated: Apr 8, 2021 — Improve article
Return to all articles
分享
订阅

Contribute

  • 提交错误
  • 查看源代码

相关内容

  • developer.chrome.com
  • Chrome 动态
  • 网站开发基础
  • 案例研究
  • 播客
  • 节目

连接

  • Twitter
  • YouTube
  • Google Developers
  • Chrome
  • Firebase
  • Google Cloud Platform
  • 所有产品
  • 条款和隐私权
  • 社区准则

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies.