O'Reilly logo

Microformats: Empowering Your Markup for Web 2.0 by John Allsopp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required