encyclopegia.org

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 attribute on , , or elements. Example uses include the standard way of referencing CSS, , which indicates that the external resource linked to with the attribute is a stylesheet, so a web browser will generally fetch this file to render the page. Another example is for the popular favicon icon. Link relations are used in some microformats (e.g. 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 Representational State Transfer system. The Internet Engineering Task Force (IETF) has a registry of standardized link relations, and a procedure for extending it defined in RFC 5988. HTML5 also defines valid link relations. In HTML4, the rev attribute of a link is also defined, which defines the relationship between the resources. The attribute is removed in HTML5.

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 attribute on , , or elements. Example uses include the standard way of referencing CSS, , which indicates that the external resource linked to with the attribute is a stylesheet, so a web browser will generally fetch this file to render the page. Another example is for the popular favicon icon. Link relations are used in some microformats (e.g. 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 Representational State Transfer system. The Internet Engineering Task Force (IETF) has a registry of standardized link relations, and a procedure for extending it defined in RFC 5988. HTML5 also defines valid link relations. In HTML4, the rev attribute of a link is also defined, which defines the relationship between the resources. The attribute is removed in HTML5.

References

No reference rows published for this article.

Cite this article

MLA

"Link relation." encyclopegia.org, 2024, https://encyclopegia.org/wiki/link-relation. Accessed 24 November 2026.

Chicago

"Link relation." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/link-relation.

APA

encyclopegia.org. (2024). Link relation. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/link-relation

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Thomas Higson

enwiki · references available

Saba Komkova

enwiki · references available

Ostrovicë

enwiki · references available

Hassel (Bergen)

enwiki · references available

V. K. Ramaswamy (umpire)

enwiki · references available

Realph Norland

enwiki · references available

François-Antoine Pécaudy de Contrecœur

enwiki · references available

Richard Ruppel

enwiki · references available

2009 Buffalo Bulls football team

enwiki · references available

Air Accidents Investigation Institute

enwiki · references available

Yale, Mississippi

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1241538654 · 0.5 · snapshot enwiki-001241538654

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.