rel Attribute


 

Where to use the rel Attribute


Description

The rel attribute specifies the (forward) relationship from the current document to the resource specified by the href attribute of a link (created using either an a or a link element).

For example, for a link element, rel="stylesheet" specifies that the linked resource is a stylesheet for the current document.

If desired, a space separated list of relationships may be given. For more information, refer to the LinkTypes attribute type.

See also the rev attribute.


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Attribute Index (XHTML 1.1) > rel Attribute (XHTML 1.1)