专家
我对如何在锚链接中添加以下属性感到困惑。
顺序应该是什么?
1:
<a href='https://copybloggerthemes.com/' title='Blogger Templates' rel='dofollow' target='_blank'>Copy Blogger Themes</a>2:
<a href='https://copybloggerthemes.com/' rel='dofollow' title='Blogger Templates' target='_blank'>Copy Blogger Themes</a>3:
<a href='https://copybloggerthemes.com/' target='_blank' rel='dofollow' title='Blogger Templates'>Copy Blogger Themes</a>以上三种属性都有、rel、title三个属性,现在我搞不清楚哪一个是完美的。
我搞不懂哪一个属性应该是一个接一个?
哪一个是搜索引擎优化友好的?
发布于 2017-02-24 19:02:19
关于HTML中属性应该按哪个顺序排列的问题,这一点绝对没有区别,而且所有这些版本都是100%相等的。
此外,正如其他人所提到的,没有"rel= do追随者“这样的东西,在默认情况下,所有的链接都是”跟随“链接。唯一应该使用此属性的时间是当您希望链接为“不跟随”时。然后将rel="nofollow"作为属性。
因此,您的锚标记应该如下所示:
<a href='https://copybloggerthemes.com/' title='Blogger Templates' target='_blank'>Copy Blogger Themes</a>但正如我所提到的,属性的顺序一点也不重要。
正如厌恶者所说,SEO友好性问题在这里已经过时了。
https://stackoverflow.com/questions/42390500
复制相似问题