XHTML Friends Network
HTML microformat developed in 2003
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.
01Example
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>
Sources and credits
This article is adapted from the Wikipedia article “XHTML Friends Network”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.