链接(rel和rev) [英] link (rel and rev)

查看:112
本文介绍了链接(rel和rev)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




Brian提到使用< link rel = ..>对于导航

在另一个帖子中的用途,我一直在研究它并发现

HTML 3.2有两种其他公认的链接类型而不是HTML 4.01,它们是

" top"和搜索。我比较了这两页:

http://www.w3.org/TR/REC-html32-19970114#link
http://www.w3.org/TR/html4/types.html#type-links


我怀疑开始在HTML 4.01中与top相同在HTML 3.2中,

这是正确的吗?


HTML 4.01是否有类似搜索的内容在HTML 3.2中?


因为rel =prev定义了前一页的链接,这与

的rev属性相同吗?


-

问候

Harrie

Hi,

After Brian mentioned the use for <link rel=..> for navigational
purposes in another thread, I''ve been looking into it and found that
HTML 3.2 has two other recognized link types than HTML 4.01, which are
"top" and "search". I compared these two pages:

http://www.w3.org/TR/REC-html32-19970114#link
http://www.w3.org/TR/html4/types.html#type-links

I suspect that "Start" in HTML 4.01 is the same as "top" in HTML 3.2, is
this correct?

Is there for HTML 4.01 something like "search" in HTML 3.2?

Since rel="prev" defines a link to a previous page, is this the same as
the rev attribute?

--
Regards
Harrie

推荐答案

Harrie写道:


之后Brian提到了使用< link rel = ..>为了导航
目的在另一个线程中,我一直在研究它并发现
HTML 3.2有两个其他公认的链接类型而不是HTML 4.01,它们是
top。和搜索。我比较了这两页:

http://www.w3.org/TR/REC-html32-19970114#link
http://www.w3.org/TR/html4/types.html#type-links

我怀疑那个开始在HTML 4.01中与top相同在HTML 3.2中,这是正确的吗?


不确定 - 当我在试验这些时,我发现浏览器并没有
一贯地实现它们。我最终都使用了这两个,但是

重复了文档正文中的链接。例如,参见:

http:/ /tranchant.plus.com/web/html-tutorial/headings

是否有HTML 4.01类似于搜索的内容在HTML 3.2中?


通行证。无论如何你没有理由不能使用它。 Lynx仍会在其标题栏中显示它。$ / b $ b由于rel =prev定义了前一页的链接,这与
rev属性相同吗?
Hi,

After Brian mentioned the use for <link rel=..> for navigational
purposes in another thread, I''ve been looking into it and found that
HTML 3.2 has two other recognized link types than HTML 4.01, which are
"top" and "search". I compared these two pages:

http://www.w3.org/TR/REC-html32-19970114#link
http://www.w3.org/TR/html4/types.html#type-links

I suspect that "Start" in HTML 4.01 is the same as "top" in HTML 3.2, is
this correct?
Not sure - when I was experimenting with these, I found browsers didn''t
implement them consistently. I''ve ended up using both, but have
duplicated the links in the document body. See, for example:

http://tranchant.plus.com/web/html-tutorial/headings
Is there for HTML 4.01 something like "search" in HTML 3.2?
Pass. There''s no reason why you can''t use it anyway. Lynx will still
display it in its header bar.
Since rel="prev" defines a link to a previous page, is this the same as
the rev attribute?




我也想知道这一点。我想不是,但我无法解释原因。 < link

rev =" made" ...>是列出作者邮件地址的常用方法,并且如果按C(联系人),Lynx会使用它来向作者发送邮件。请参阅

以上网址的示例。


-

马克。
http://tranchant.plus.com/

Harrie< di ****************** @ hotmail.com>写道:
Harrie <di******************@hotmail.com> wrote:
布莱恩提到使用< link rel = ..>为了导航
目的在另一个线程中,我一直在研究它并发现
HTML 3.2有两个其他公认的链接类型而不是HTML 4.01,它们是顶部的。和搜索。


从技术上讲,HTML 3.2在说明HTML链接关系尚未标准化之后将其称为建议关系值,

>
虽然已经建立了一些公约。 建议一词比已建立更接近真实。


HTML 4.01更加模糊,虽然以不同的方式误导,但它是什么时候

表示:作者可以使用以下公认的链接类型,此处列出

及其常规解释。这个(可能是有意的)

会让它保持开放状态,无论该列表是一个规范性的定义是什么意思

的某些rel属性值或描述性的常见(或

常规浏览器解释。实际上,两者都有点b / b
,但大部分都没有。它并不完全有意义地具有规范性,而且它与现实相距太远而不具有描述性。


特别是,IE忽略所有值,但rel =" stylesheet"在

< link>元素。

我怀疑开始在HTML 4.01中与top相同在HTML 3.2中,
这是正确的吗?


我们只有两个模糊的定义。在实践中,Mozilla将开始

有效地视为顶部。但是开始是奇怪的。例如,如果您将
的一组页面链接在一起作为一个简单的链接列表,没有

主页或内容页面(不好的做法,但可能),那么开始"将

自然地引用序列中的第一个。但它不会是顶部。

HTML 4.01是否有类似搜索的内容。在HTML 3.2中?


不是真的。这说明了rel值如何只是一个汤,在不同的版本中以不同的方式混合。请注意搜索在HTML 3.2中定义相当模糊

:链接引用搜索材料的页面
与页面集合相关的
。为何与......有关而不是in?

因为他们无法决定。

因为rel =prev定义到上一页的链接,这与rev属性相同吗?
After Brian mentioned the use for <link rel=..> for navigational
purposes in another thread, I''ve been looking into it and found that
HTML 3.2 has two other recognized link types than HTML 4.01, which
are "top" and "search".
Technically, HTML 3.2 mentions them as "proposed relationship values",
after stating that "HTML link relationships are as yet unstandardized,
although some conventions have been established." The word "proposed" is
much closer to truth than "established".

HTML 4.01 is more vague, though misleading in a different way, when it
says: "Authors may use the following recognized link types, listed here
with their conventional interpretations." This (probably intentionally)
leaves it open whether the list is a normative definition of the meanings
of some rel attribute values or a descriptive presentation of common (or
"conventional") browser interpretation. In reality, it''s a little bit of
both, but mostly neither. It''s not exact enough to be meaningfully
normative, and it''s far too far from reality to be descriptive.

In particular, IE ignores all the values, except rel="stylesheet" in
<link> elements.
I suspect that "Start" in HTML 4.01 is the same as "top" in HTML 3.2,
is this correct?
We only have two vague definitions. In practice, Mozilla treats "start"
effectively as "top". But "start" is defined oddly. For example, if you
have a set of pages linked together as a simple linked list, with no
main or contents page (bad practice, but possible) then "start" would
naturally refer to the first in the sequence. But it would not be "top".
Is there for HTML 4.01 something like "search" in HTML 3.2?
Not really. This illustrates how the rel values are just a soup, mixed
differently in different versions. Note that "search" was fairly vaguely
defined in HTML 3.2: "The link references a page for searching material
related to a collection of pages." Why that "related to" instead of "in"?
Because they couldn''t decide.
Since rel="prev" defines a link to a previous page, is this the same
as the rev attribute?




否,rel =" prev"表示与rev =next相同。但是rev属性实际上是未使用的,除了rev =made,这对于某些浏览器来说是一种罕见的特殊情况

。一般来说,rev属性的概念只会混淆

人。


-

Yucca, http://www.cs.tut.fi/~jkorpela/

有关网页制作的网页: http://www.cs。 tut.fi/~jkorpela/www.html



No, rel="prev" means the same as rev="next". But the rev attribute is
virtually unused, except for the rev="made", which is a rare idiosyncracy
for some browsers. Generally, the concept of rev attribute just confuses
people.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


2004年9月28日星期二,Jukka K. Korpela写道:
On Tue, 28 Sep 2004, Jukka K. Korpela wrote:
特别是,IE忽略所有值,但rel =" stylesheet"在
< link>元素。
In particular, IE ignores all the values, except rel="stylesheet" in
<link> elements.




Jim Ley写了一些Jscript,它会把它们弹出作为一个可用的

链接列表(至少在IE5和5.5,依靠机器在

MS'自己的IE5WA网络配件上)。所以我认为IE浏览器

并不完全忽略它们是公平的,即使它 - 默认情况下 - 不是
将它们渲染成任何有用的方式。



Jim Ley wrote a bit of Jscript which would pop them up as a usable
list of links (at least in IE5 and 5.5, relying on the machinery in
MS''s own IE5WA web accessories). So I think it''s fair to say that IE
is not entirely ignoring them, even though it - by default - isn''t
rendering them in any useful way.

我怀疑开始。在HTML 4.01中与top相同在HTML 3.2中,
这是正确的吗?
I suspect that "Start" in HTML 4.01 is the same as "top" in HTML 3.2,
is this correct?



我们只有两个模糊的定义。



We only have two vague definitions.




来自W3C他们自己同意。


但各种研究已经在网上公布;
http://www.subotnik.net/html/link.html 本身就很有用,并且

也引用了相当的内容相关材料的链接列表。



From the W3C themselves, agreed.

But various studies have been published on the web;
http://www.subotnik.net/html/link.html is useful in its own right, and
also cites quite a list of links to relevant material.


这篇关于链接(rel和rev)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆