【问题标题】:Is it possible to include more than one link tag in an HTML document with the same rel="..." value?是否可以在 HTML 文档中包含多个具有相同 rel="..." 值的链接标签?
【发布时间】:2017-07-25 18:26:36
【问题描述】:

我正在使用默认的 wordpress 主题 (twentyseventee),我看到标题包含以下内容:

<link rel="profile" href="http://gmpg.org/xfn/11">

我还想使用hCard microformat 来描述我的信息(照片、姓名、电子邮件等)但是,hCard 需要以下链接:

<link rel="profile" href="http://microformats.org/profile/hcard">

现在我在想,如果我有两个与rel="profile" 的链接,那么搜索引擎很可能会丢弃其中一个。

有没有关于那个地方的任何信息?

【问题讨论】:

    标签: html wordpress microformats hcard xfn


    【解决方案1】:

    This answer 有一些很好的信息。

    rel="profile" 在 HTML5 中被删除,它可能不再有用了。虽然它可能对使用旧版浏览器的某些用户更有用,但现在大多数搜索引擎可能对它不感兴趣。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-18
    • 1970-01-01
    • 2013-07-10
    • 2015-12-23
    • 1970-01-01
    • 2022-11-16
    相关资源
    最近更新 更多