Skip to content

24 ways to impress your friends

Vote down?

Bogdan

@ed: I think your code is not microformat because it does not follow any standard microformat rules, at least not the hCard microformat.

As far as I’ve understood them, microformats are ways of describing your data using regular (X)HTML and CSS class names. The trick is using the same HTML frame and class names so that machines (programs, scripts etc) could follow them and understand what that specially marked up piece of text actually means.

So, putting your full name in whatever html tag with the class full_name is not hCard microformat, but using class name fn, is.

You only need to take a look at microformats.org and understand what are the guidelines for coding every special microformat, then you can use it in your web pages without breaking the layout, standards etc, but preparing your data for the Semantic Web.