|
Post by akash60 on Apr 16, 2024 20:59:30 GMT -7
搜索引擎中越来越多地使用语言理解,优先考虑按主题和副主题组织的写作内容,并以明确的方式传达信息。语义 HTML 可以让搜索引擎清楚地知道您想要索引的内容在网页上的具体位置,这就是为什么应该在 SEO 和网站可访问性方面考虑它。 需要明确的是,语义 HTML 不是排名因素。这只是让搜索引擎更容易识别网页的主要内容在哪里,这是一件非常好的事情。 搜索引擎关注主要内容 Google 的搜索质量评估指南区分了网页上的三种内容: 主要内容 补充内容 广告内容 主要内容 主要内容是搜索引擎想要索引和排名的内容。 补充内容 补充内容很有用,例如站点导航,但这不是搜索引擎对索引感兴趣的内容。 广告内容 广告内容也不是搜索引擎访问网页时抓取的内容。 语义 HTML 帮助网页实现其目的 主要内容与其他两类内容的区别在于,补充内容和广告内容无助于实现网页的目的。 只有主要内容才能帮 美国数据 助网页实现其目的,并且根据搜索质量评估者指南,这些内容才是评估者获得更高页面质量分数的内容。 虽然这可能不是排名信号,但创建实现网页目的的主要内容仍然是每个发布商和 SEO 应该努力实现的目标。 《评级者指南》在第 1 部分的开头指出: “页面质量 (PQ) 评级任务由 URL 和网格组成,用于记录您在探索登陆页面和与 URL 关联的网站时的观察结果。 PQ 评级的目标是评估页面实现其目的的程度。” 实现这一目的的关键在于主要内容。语义 HTML 可以帮助搜索引擎爬虫将主要内容归零。 页面结构的概念——语义HTML SEO 的第一条规则是让网页易于搜索引擎理解。 语义HTML可以说是网页内容的最基本层次,整个网页的结构可以整齐地组织成三部分(主要内容、补充内容和广告内容)。 当我们谈论语义 HTML 时,我们并不是在谈论单词的含义。在 HTML 上下文中,“语义”一词是关于网页的含义,分为各个组成部分。 就像身体是由头、躯干、手臂和腿组成一样,网页也是各个部分的集合。 网页的典型结构如下所示: 页眉(带有徽标的顶部部分) 导航 主要内容 页脚 您看到称为“主要内容”的部分了吗?这是搜索引擎在索引网页时最感兴趣的部分。这是搜索质量评估指南提到的部分。 在对网页进行索引时,搜索引擎不关心导航、页脚、广告、侧边栏或标题部分。 他们关心对主要内容进行索引。 语义 HTML 告诉搜索引擎主要内容的确切位置,以便索引器可以抓取它并对其进行排名。 元素 告诉搜索引擎要对网页上的哪些内容进行索引就像使用<main> HTML 元素一样简单。 <main> 元素有一个开始标记 (<main>) 来标记主要内容的开始位置。 它有一个结束标记()来标记主要内容的结束位置。 一个网页只能有一个 <main> 部分。 在主要内容开始的部分中,只需放入 <main> 元素即可。然后使用结束 HTML </main> 元素来表示内容主要部分的结束位置。
|
|