html里各种link标签的作用

在打开wordpress页面的html源代码以后,能看到head标签里面有各式各样的link标签,想找到它们的确切作用以及出处,一直没有找到明确的说法,很是郁闷。

下面做个记录先:

CODE:
  1. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://feeds.feedburner.com/ooso" />
  2. <link rel="alternate" type="text/xml" title="RSS .92" href="http://www.ooso.net/index.php/feed/rss" />
  3. <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://www.ooso.net/index.php/feed/atom" />

这个看来是记录的博客RSS 2.0 / RSS 0.92 URL,在firefox中打开能看到地址栏最后面出现Feed图标,据说搜索引擎也会根据这个标签自动去爬行博客的RSS。但是我没找到这个标签的详细说明,仅仅在wikipedia上找到子言片语。

CODE:
  1. <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />

地址栏最前面的小图标...大家好像都认识的说

CODE:
  1. <link rel='archives' title='2007年7月' href='http://www.ooso.net/index.php/archives/date/2007/07' />
  2. ........
  3. <link rel='archives' title='2000年1月' href='http://www.ooso.net/index.php/archives/date/2000/01' />

blog的归档url,估计是供Search Engine爬行用的,曾经想把这段东东删掉...嘿嘿。

CODE:
  1. <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.ooso.net/xmlrpc.php?rsd" />

供livewriter之类的离线编辑器使用的?

CODE:
  1. <link rel="stylesheet" href="http://www.ooso.net/wp-content/plugins/ig_syntax_hilite/css/syntax_hilite_css.css" type="text/css" media="all" />

样式表,不用说了。

以上标记俺目前都只是凭揣测来解释它的作用,如有路过的达人给出具体含义,感激不尽。

UPDATE

关于link标签里rel属性的作用

作者: volcano 发表于7月 2, 2007 at 8:03 am

版权信息: 可以任意转载, 转载时请务必以超链接形式标明文章原始出处作者信息及此声明

Tags:

7 条评论 »

  1. 天真 于 2007-07-03 @ 17:33:47 留言

    路过。不过不是达人。。。。

  2. 偶爱偶妻 于 2007-07-04 @ 16:59:17 留言

    路过,也是不知道!

  3. volcano 于 2007-07-04 @ 19:34:33 留言

    看来这个是个谜了?

  4. lating 于 2007-07-09 @ 16:30:20 留言

    你可以看看这个网站,感觉比较全面:http://www.dreamdu.com/xhtml/attribute_rel/

  5. volcano 于 2007-07-11 @ 18:52:37 留言

    多谢楼上的,终于找到了出处

  6. xLight 于 2007-07-14 @ 08:47:26 留言

    好像不是很全
    比如opera就支持
    link rel=”home”
    link rel=”index”
    link rel=”search” href=
    link rel=”about” href=
    link rel=”author” href=
    link rel=”copyright” href=

  7. volcano 于 2007-07-14 @ 08:50:35 留言

    link rel=”search” href=

    这种firefox也支持,用来定义firefox的快捷搜索。

RSS 为此帖反馈评论 · 反向跟踪 网站

留条评论