这篇翻译不完整。请帮忙从英语翻译这篇文章。
在超文本标记语言中,在两种文档之间可以指定<a>
, <area>
或<link>
元素使一个页面链接到另一个页面。
链接类型 | 描述 | 被支持的元素 | 不被支持的元素 |
---|---|---|---|
alternate |
|
<a> , <area> , <link> |
None. |
archives HTML5 |
Defines a hyperlink to a document archiving a link to this one. E.g. a blog entry would link to a monthly index page that way. Note: Although recognized, the singular archive is incorrect and must be avoided. |
<a> , <area> , <link> |
None. |
author HTML5 |
Defines a hyperlink to a page describing the author or allowing to reach him. Note: This may be a mailto: hyperlink, but this is not recommended on public pages as robot harvesters will quickly lead to a lot of spam sent to the address. In that case, it is better to lead to a page containing a contact form.Although recognized, the rev attribute on <a> , <area> or<link> elements with a link type of made is incorrect and should be replaced by the rel attribute with this link type. |
<a> , <area> , <link> |
None. |
bookmark |
Indicates that the hyperlink is a permalink for the nearest ancestor <article> element. If none, it is a permalink for the section the element is most closely associated to.This allows to bookmarks single article in a multi-articles page, like on a montly summary blog page, or a blog aggregator. |
<a> , <area> |
<link> |
external HTML5 |
Indicates that the hyperlink leads to a resource outside the site of the current page, i.e. that following the link will make the user leave the site. | <a> , <area> |
<link> |
first HTML5 |
Indicates that the hyperlink leads to the first resource of the sequence the current page is in. Note: Other link types related to linking resources in the same sequence are last , prev , next .Although recognized, the synomyns begin and start are incorrect and must be avoided. |
<a> , <area> , <link> |
None. |
help |
<a> , <area> , <link> |
None. | |
icon HTML5 |
Defines a resource for representing the page in the user interface, usually an icon (auditory or visual one). The media , type and sizes attributes allow the browser to select the most appropriate icon in its context. If several resources match, the browser will select the last one declared, in tree order. As these attributes are merely hints, and the resources may be non-appropriate upon further inspection, the browser will then select another one, if appropriate.Note: Apple's iOS do not use this link type, nor the sizes attribute, like others mobile browsers do, to select a webpage icon for Web Clip or a start-up placeholder. Instead it uses the non-standard apple-touch-icon and apple-touch-startup-image respectively.The shortcut link type is often seen before icon , but this link type is non-conforming, ignored and web authors must not use it anymore. |
<link> |
<a> , <area> |
index |
Indicates that the page is part of a hierarchical structure and that the hyperlink leads to the top level resource of that structure. If one or several up link types are also present, the number of these up indicates the depth of the current page in the hierarchy. |
<a> , <area> , <link> |
None. |
last HTML5 |
Indicates that the hyperlink leads to the last resource of the sequence the current page is in. Note: Other link types related to linking resources in the same sequence are first , prev , next .Although recognized, the synomyn end is incorrect and must be avoided. |
<a> , <area> , <link> |
None. |
license HTML5 |
Indicates that the hyperlink leads to a document describing the licensing information. If not inside the <head> element, the standard doesn't distinguish between a hyperlink applying to a specific part of the document or to the document as a whole. Only the data on the page can indicate this.Note: Although recognized, the synonym copyright is incorrect and must be avoided. |
<a> , <area> , <link> |
None. |
next |
Indicates that the hyperlink leads to the next resource of the sequence the current page is in. Note: Other link types related to linking resources in the same sequence are first , prev , last . |
<a> , <area> , <link> |
None. |
nofollow HTML5 |
Indicates that the linked document is not endorsed by the author of this one, for example if it has no control over it, if it is a bad example or if there is commercial relationship between the two (sold link). This link type may be used by some search engines that use popularity ranking techniques. | <a> , <area> |
<link> |
noreferrer HTML5 |
Prevents the browser, when navigating to another page, to send this page name, or any other value, as referrer via the |
<a> , <area> |
<link> |
pingback HTML5 |
Defines an external resource URI to call if one make a comment or a citation about the webpage. The protocol used to make such a call is defined in the Pingback 1.0 specification. Note: if the X-Pingback: HTTP header is also present, this header has precedence over the <link> element with this link type |
<link> |
<a> , <area> |
prefetch HTML5 |
Hints the browser to fetch in advance the linked resource, as it will likely be requested by the user. Note: the Link Prefetch FAQ has details on which links can be prefetched and on alternative method |
<a> 未实现,<area> 未实现,<link> |
None. |
prev |
Indicates that the hyperlink leads to the precedent resource of the sequence the current page is in. Note: other link types related to linking resources in the same sequence are first , last , next .Although recognized, the synomyn previous is incorrect and must be avoided. |
<a> , <area> , <link> |
None. |
search |
Indicates that the hyperlink reference a document whose interface is specially designing for searching in this document, or site, and its resources. If the type attribute is set to application/opensearchdescription+xml the resource is an OpenSearch plugin that can be easily added to the interface of some browsers like Firefox or Internet Explorer. |
<a> , <area> , <link> |
None. |
stylesheet HTML5 |
Defines an external resource to be used as a stylesheet. If the type is not set, the browser should assume it is a text/css stylesheet until further inspection.If used in combination with the alternate keyword, it defines an alternative style sheet; in that case the title attribute must be present and not be the empty string. |
<link> |
<a> , <area> |
sidebar HTML5 |
Indicates that the hyperlink leads to a resource that would be better suited for a secondary browsing context, like a sidebar. Browsers, that don't have such a context will ignore this keyword. | <a> , <area> , <link> |
None. |
tag HTML5 |
Indicates that the hyperlink reference a document describing a tag that applies to this document. Note: this link type should not be set on links member of a tag cloud as these one does not apply to a single document but to a set of pages. |
<a> , <area> , <link> |
None. |
up HTML5 |
Indicates that the page is part of a hierarchical structure and that the hyperlink leads to the higher level resource of that structure. The number of up link types indicates the depth difference between the current page and the linked resource. |
<a> , <area> , <link> |
None. |