HTML标记来注释部分的来源? [英] HTML-tag to annotate the origin of a section?
问题描述
据某些人称,当您在多个站点中使用相同的内容时,Google不喜欢它.
Google don't like it when you use same content across multiple sites, according to some.
有什么方法可以用源"注释/标记一块内容.
Is there any way to annotate/tag a block of content with the "source".
有点像属性:
<div original-content="http://some.url">
目的仅仅是为了让Google了解我们已经复制了内容(即不作为搜索排名策略的一部分).然后搜索引擎可以某种方式使用此信息.
The purpose is solely to let Google that we have duplicated the content (I.e. not as part of a search ranking strategy). Search engines could then use this information somehow.
推荐答案
否,HTML没有此类元素或属性.
No, HTML has no such element or attribute.
If you quote the content (in a q
or blockuote
element), you could use the cite
attribute. But you must not use these elements for anything other than quotes.
如果整个文档重复(或作为子集),则可以使用 canonical
链接输入.但是如果在文档中只有部分重复而其他部分不同的情况下,则不能使用它.
If the whole document is duplicated (or is a subset), you could use the canonical
link type. But you must not use this if only part of the document is duplicated while the other parts are different.
这篇关于HTML标记来注释部分的来源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!