WEB1000 - <img> 或 <area> 标记的“alt”属性以没有 SEO 值的单词或字符开头
alt 属性不应以词语“版权所有”、版权符号 [© 或 (c)] 或者任何其他没有搜索引擎相关性的字符或符号开头。
说明
图像映射的每个 <img>
标记和 <area>
标记都应包含一个以不超过 150 个字符描述图像的 alt 属性。 alt 文本不能以词语“版权所有”或以版权符号 [© 或 (c)] 开头。
详细信息
将相关文本放在靠近 alt 属性开头的位置,以使搜索引擎能够更好地将关键字与图像关联。 alt 属性开头的版权符号或其他版权声明将向搜索引擎指出:图像与搜索最为相关的方面是版权,而不是图像实际描述的内容。如果需要版权声明,请考虑将其移到 alt 属性文本的结尾。
有关对“SEO 检查器”中的规则参数进行自定义的信息,请参阅 Customizing SEO rules(自定义 SEO 规则) 。
示例
下面是 <img>
和 <area>
标记中格式正确的 alt 属性的示例。
<img src="https://www.proseware.com/images/reader_in_action.png"
alt="A computer screen showing the Proseware reader in operation. Image copyright (c) 2009.">
<img src ="menu.gif" width="300" height="120" alt="Planets" usemap="#menumap" />
<map name="menumap">
<area shape="rect" coords="0,0,99,120" href="index.html" alt="Home" />
<area shape="rect" coords="100,0,199,120" href="products.htm" alt="Products" />
<area shape="rect" coords="200,0,300,120" href="about.htm" alt="About Us" />
</map>
另请参阅
概念
Microsoft Corporation 版权所有 ⓒ 2011。保留所有权利。