Jump to content

XHTML Friends Network

From Wikipedia, the free encyclopedia

Template:Short description 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.[1][2][3] XFN was the first microformat, introduced in December 2003.[1]Template:Failed verification

Example

A friend of Jimmy Example could indicate that relationship by publishing a link on their site like this:

<syntaxhighlight lang="html" inline><a href="http://jimmy.example.com/" rel="friend">Jimmy Example</a></syntaxhighlight>

Multiple values may be used, so if that friend has met Jimmy:

<syntaxhighlight lang="html" inline><a href="http://jimmy.example.com/" rel="friend met">Jimmy Example</a></syntaxhighlight>

See also

References

Template:Reflist


Template:Markup-languages-stub

  1. ↑ 1.0 1.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  2. ↑ Template:Cite book
  3. ↑ Template:Cite book