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

SVG inline title in H1 for SEO

· 52CE 我爱测

I would like to use in my H1 a SVG inline using title to put my text/keyword. eg: The classic way <h1>My Title</h1> My idea <h1> <svg> <title>My Title</title> <path>....</path> <svg> </h1> Would the H1 have the same SEO impact as…

问题原文

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

I would like to use in my H1 a SVG inline using title to put my text/keyword. eg:

The classic way

<h1>My Title</h1>

My idea

<h1>
 <svg>
  <title>My Title</title>
  <path>....</path>
 <svg>
</h1>

Would the H1 have the same SEO impact as using the SVG inline method?

已采纳解答

原帖链接 · Mike Ciffone · CC BY-SA 4.0

I would not recommend this. The H1 tag is designed to be a text headline.

Making your H1 an SVG will not have a positive impact for SEO.

H1: "Primary Headline" with your target keyword somewhere within it will have a positive impact for SEO.

To get the best results, use natural language in your headline including related/synonymous variants of your primary keyword (which you should use in your <title> tag.)

Optimal Structure:

<head>
     <title>Page Title</>
     <meta name="description" content="Description of page" />
</head>
<body>
     <h1>Page Headline</h1>

[your content]

</body>

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

资料来源与适用范围

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

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

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