Name

REL — NN n/a IE n/a HTML 4

Synopsis

REL=”linkTypes"

Optional

Defines the relationship between the current element and the destination of the link. Also known as a forward link, not to be confused in any way with the destination document whose address is defined by the HREF attribute. The HTML 4.0 recommendation defines several link types, and it is up to the browser to determine how to employ the value. The element must include an HREF attribute for the REL attribute to be applied.

Example

<SPAN REL="next chapter" HREF="chapter3.html">...</SPAN>

Value

Case-insensitive, space-delimited list of HTML 4.0 standard link types applicable to the element. Sanctioned link types are:

alternate
contents
index
start
appendix
copyright
next
stylesheet
bookmark
glossary
prev
subsection
chapter
help
section

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.