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

Does having a <span> tag around a portion of a word hurt SEO?

· 52CE 我爱测

If I do <h1>H<span style="font-size: 12px;">ello</span> W<span style="font-size: 12px;">orld</span></h1> Will search engines read it as "Hello World"? Will this hurt SEO? I am not doing any JS or anything else. I just want the ot…

问题原文

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

If I do

<h1>H<span style="font-size: 12px;">ello</span>
W<span style="font-size: 12px;">orld</span></h1>
  1. Will search engines read it as "Hello World"?
  2. Will this hurt SEO?

I am not doing any JS or anything else. I just want the other letters smaller. I know I should find a font called "Small Caps" - but for this font that I have does not exist.

  1. What would you recommend in this case the best approach?

已采纳解答

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

  1. Yes, this is ok and Search engines would see the text as "Hello".

Reason: Drop caps, Websites likes NYC.com uses drop caps, drop caps needs special CSS codes without div, span or class drop caps are not possible but Search engines still crawl them. You just have to make sure Search engines can crawl your site.

  1. This won't hurt SEO.

  2. There is no recommendation needed in this case but try referring to drop caps.

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

资料来源与适用范围

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

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

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