Link Relation

A link relation is a descriptive attribute attached to a hyperlink in order to define the type of the link, or the relationship between the source and destination resources. The attribute can be used by automated systems, or can be presented to a user in a different way.

In HTML these are designated with the rel attribute on link, a or area elements. Example uses include the standard way of referencing CSS , which indicates that the external resource linked to with the href attribute is a stylesheet, so a web browser will generally fetch this file to render the page. Another example is rel="shortcut icon" for the popular favicon icon.

Link relations are used in some microformats (e.g. rel="tag" for tagging), in XHTML Friends Network (XFN), and in the Atom standard, in XLink, as well as in HTML. Standardized link relations are one of the foundations of HATEOAS as they allow the user agent to understand the meaning of the available state transitions in a REST system.

The Internet Engineering Task Force (IETF) has a registry of standardized link relations, and a procedure for extending it defined in RFC 5988. HTML 5 also defines valid link relations.

Read more about Link Relation:  Rev Attribute

Famous quotes containing the words link and/or relation:

    This sand seemed to us the connecting link between land and water. It was a kind of water on which you could walk, and you could see the ripple-marks on its surface, produced by the winds, precisely like those at the bottom of a brook or lake. We had read that Mussulmans are permitted by the Koran to perform their ablutions in sand when they cannot get water, a necessary indulgence in Arabia, and we now understand the propriety of this provision.
    Henry David Thoreau (1817–1862)

    The psychoanalysis of individual human beings, however, teaches us with quite special insistence that the god of each of them is formed in the likeness of his father, that his personal relation to God depends on his relation to his father in the flesh and oscillates and changes along with that relation, and that at bottom God is nothing other than an exalted father.
    Sigmund Freud (1856–1939)