Javascript Reference
Categories: A

javascript A rel

@March 15, 2008, 1:22 a.m.

rel Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

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. Mainstream browsers do not take advantage of this attribute for the a element, but you can treat the attribute as a kind of parameter to be checked and/or modified under script control. See the discussion of the a element's rel attribute for a glimpse of how this property may be used in the future.

 
Value

Case-insensitive, space-delimited list of HTML 4.0 standard link types (as a single string) applicable to the element. Sanctioned link types are:

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

None.


Powered by Linode.