5 MICROFORMAT TO DESCRIBERELATIONSHIPS BETWEEN PEOPLE: XFN

As you progress through the book, the microformats you encounter will become increasingly more complex. In the last chapter, you learned about link microformats, and their use of the rel and rev attributes of HTML. The chapter ended with a discussion of VoteLinks, which, unlike the previous formats you saw, allows multiple values on the rev attribute.

This chapter looks at another, even more complex link microformat: XFN, or XHTML Friends Network. I start out with an overview of XFN before moving on to examine how to use it. You'll then see some examples of XFN in action and how to style XFN content with CSS.

XFN overview

XHTML Friends Network (XFN) is a microformat that in fact predates ...

Get Microformats: Empowering Your Markup for Web 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.