大网数据广告活动
网站运营与故障问答

Can I use numbering to decorate headings for readability in CSS without hurting SEO?

· 52CE 我爱测

I attached the file. When designing(decorating, styling) h1, h2, and h3 tags for SEO, I am worried. These h tags form a certain hierarchy. For example: h1-h2-h3 (title1 title2 title3) h1-h2-h2 (title1 title2-1 title2-2) h1-h2-h3-…

问题原文

原帖链接 · fenrir · CC BY-SA 4.0

I attached the file. When designing(decorating, styling) h1, h2, and h3 tags for SEO, I am worried. These h tags form a certain hierarchy. For example:

  • h1-h2-h3 (title1 title2 title3)
  • h1-h2-h2 (title1 title2-1 title2-2)
  • h1-h2-h3-h3 (title1 title2 title3-1 title3-2)

Then, if I simply make it bold, it doesn't seem to be easy to read (readability) because there are many subtitles.

So what do you think of numbering next to the title? For example,

    1. title1
    1. title2
    1. title3

Or would it be better to give each title a color for each element? Or would it be better to simply make the h tag's letters bigger and bolder?

Of course, there was a difference between the title and the body of font-family. Assigning a large number to the title seems to be undesirable considering the snippet. This is because the crawler 'automatically' assigns a number or bullet point when selecting a snippet. Is there an error in my opinion?

And Google Help Center didn't allocate a number next to the title. Of course, the customer center is not an absolute standard, but it is for reference.

file1:

google help center:

社区高分解答

原帖链接 · Maximillian Laumeister · CC BY-SA 4.0

Contrary to hurting SEO, I've found that placing numbers next to headings can help SEO in some cases.

More specifically, if you have a numbered list of things, sometimes it can qualify your site for the "Numbered List Featured Snippet".

Here's an example of one of those snippets showing for my own site:

And the markup that it was generated from:

So in short, Google is smart enough to recognize numbered headings, and sometimes turn them into a featured snippet, which is of course good for SEO.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2021-02-01)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。