如何更改 Google 中显示的描述并将搜索标签添加到您的页面?

How to change the description that shows up in Google and add search tags to your page?

例如google的页面显示了这样的描述:
在他们的情况下,文本是

Search the world's information, including webpages, images, video's and more. Google has many special features to help you find exactly what you're looking ...

我查看了他们页面的源代码以了解该文本是如何确定的,但一无所获。 Google 也有一个 nice page 解释如何进行描述,但从未指定将描述放在哪里。

有人告诉我描述应该在robots.txt里,但是看robots.txt的specification只有四个关键词:
- 用户代理(组开始)
- 不允许(仅作为组成员记录有效)
- 允许(仅作为群组成员记录有效)
- 站点地图(非组记录)

None 个是描述或搜索标签。

在我的网站中,我将以下内容放入您主页 (HTML) 的 <head> 标记内。

<meta name="description" content="Enter your description of your website here!" />

Here is another article by google further explaining this.

该片段通常取自描述元标记:

<meta name="description" content="Search the world's information, including webpages, images, video's and more." />

它位于页面的 <head> </head> 标记之间。

实际向用户显示的内容完全由 Google 的算法决定 - 它可能会决定该页面上的另一部分文本与用户的搜索更相关。