XHTML Friends Network (XFN) is an HTML microformat developed by Global Multimedia Protocols Group that provides a simple way to represent human relationships using links. XFN enables web authors to indicate relationships to the people in their blogrolls by adding one or more keywords as the rel attribute to their links. XFN was the first microformat, introduced in December 2003.
A friend of Jimmy Example could indicate that relationship by publishing a link on their site like this:
<a href="http://jimmy.example.com/" rel="friend">Jimmy Example</a>
Multiple values may be used, so if that friend has met Jimmy:
<a href="http://jimmy.example.com/" rel="friend met">Jimmy Example</a>
- Andrews, Paul (2003-12-29). "Social networking beginning to take shape on the Web". The Seattle Times Business & Technology section page C1. The Seattle Times. Retrieved 2009-07-13.
- Subhasish DasGupta (November 2009). Social Computing: Concepts, Methodologies, Tools and Applications. Idea Group Inc (IGI). p. 1614. ISBN 978-1-60566-985-4. Retrieved 16 December 2012.
- Paul Haine (12 December 2006). HTML Mastery: Semantics, Standards, and Styling. Friends of ED. p. 122. ISBN 978-1-59059-765-1. Retrieved 16 December 2012.