Questions tagged [microformats]

Microformats are extensions to HTML for marking up people, events, blog posts, reviews, recipes etc. Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards.

Microformats Logo

A microformat is a web-based approach to semantic markup which seeks to re-use existing HTML/XHTML tags to convey metadata2 and other attributes in web pages and other contexts that support (X)HTML, such as RSS. This approach allows software to process information intended for end-users (such as contact information, geographic coordinates, calendar events, and the like) automatically.

Utilizing Microformats will provide you with the quickest and simplest way to provide an API to the information on your website.

Essentially, "Microformats are the way to publish and share information on the web with higher fidelity" - Tantek Çelik

Example :

In this example, the contact information is presented as follows:

<ul>
   <li>Joe Doe</li>
   <li>The Example Company</li>
   <li>604-555-1234</li>
   <li><a href="http://example.com/">http://example.com/</a></li>
 </ul>

With hCard microformat markup, that becomes:

<ul class="vcard">
   <li class="fn">Joe Doe</li>
   <li class="org">The Example Company</li>
   <li class="tel">604-555-1234</li>
   <li><a class="url" href="http://example.com/">http://example.com/</a></li>
 </ul>

Uses of Microformats

Using microformats within HTML code provides additional formatting and semantic data that applications can use. For example, applications such as web crawlers can collect data about on-line resources, or desktop applications such as e-mail clients or scheduling software can compile details. The use of microformats can also facilitate "mash ups" such as exporting all of the geographical locations on a web page into (for example) Google Maps to visualize them spatially.

Benefits include

  • They can help search engines exact out meaningful information out of a web page
  • They use existing html tags
  • In some cases they reuse existing html attributes
  • Microformat patterns create machine-readable markup, from human-readable markup, allowing both at the same time.
    The duality also allows creators to adhere to the DRY principle, as they're only publishing the markup once.

Drawbacks include

  • Because they are not all, standardized, there is no guarantee that a particular format is reasonable. That said, most are simply HTML class names: the class attribute will never be deprecated, so the worst thing that can happen from using non-standardized/dropped formats is what non-Microformat publishers are already doing: using HTML class names that provide no real semantic value.
  • There can also be multiple competing schemas
  • They may cause web pages to fail validation
  • In some cases they add additional "non-standard" html attributes (title attribute use on the abbr element is the most obvious; the BBC dropped Microformats because of its use/non-conformance to W3C Validation tests.

Wikipedia/Microformats

Microformats.org/

Microformats, RDF or Microdata? -stackoverflow

158 questions
56
votes
2 answers

What rel=profile is for?

While doing the HTML for my new template, I stumbled across a new meta tag What's this for? I found it linking to this page, and through Google I found this Microformat but I didn't get it.
Omar Abid
  • 15,753
  • 28
  • 77
  • 108
50
votes
6 answers

microformats, rdf or microdata

Is there any difference between using one of this technologies? I'm building now a site using HTML5, and I'm having hard time to decide which one of them to use. I cannot see any difference between them, else the syntax size, which I'm not quite…
neoswf
  • 4,730
  • 6
  • 39
  • 59
28
votes
3 answers

What is the relationship between RDF, RDFa, Microformats and Microdata

I've done quite a bit of research but I can't understand the exact relationship between the 3. Also, now that W3C has officially recognised RDFa, would you recommend it over Microdata, taking into consideration that it matches Microdata's features…
aelsheikh
  • 2,268
  • 5
  • 26
  • 41
18
votes
7 answers

Is there a Microformat for the Hours a Business is open?

I was wondering if there was yet a Microformat for a business's hours of operation. If not, who do I submit a standard to?
leeand00
  • 25,510
  • 39
  • 140
  • 297
12
votes
8 answers

Disabling browser tooltips on links and s

I want to suppress the web browser's default tooltip display when a user hovers over certain links and elements. I know it's possible but I don't know how. Can anyone help? The reason for this is to suppress the tooltip for microformatted…
roborourke
  • 12,147
  • 4
  • 26
  • 37
11
votes
3 answers

Do you use microformats in your web projects?

Do you use microformats in your web projects? If yes then why? If no then why? If yes then for which things do you use? Is there any alternate of microformats in HTML 5 ? I haven't used microformats yet. Should i start to use now or not much need?
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
10
votes
3 answers

Microformat's hRecipe vs. Schema's Recipe

I would like to know what are the main differences between Microformat's hRecipe and Schema.org's Recipe and how search engines treat each one. Besides the differences in code and the fact that the former is open while the latter is propietary, how…
Naoise Golden
  • 8,793
  • 4
  • 49
  • 65
10
votes
6 answers

Does Google 'understand' microformats and will it help my SEO?

Semantic HTML makes it easier for Google to crawl and 'understand' a website but what about microformats? Are microformats any more semantic/crawlable then standard HTML markup?
Matthew James Taylor
  • 4,806
  • 5
  • 29
  • 33
9
votes
2 answers

Does rel="home" on an anchor tag () do anything helpful?

I see this a lot on site title links in WordPress themes (probably because Underscores does it and everyone copies that): Some Site Title I cannot find even a semi-authoritative statement anywhere that rel="home" on an…
Andron
  • 506
  • 4
  • 13
7
votes
2 answers

Statistics about "Microformat vs HTML+RDFa" adoption

Are there some recent and reliable statistics about "Web use" (webpages using one standard or another) of these standards? Or an specific statistic about vCard (person and/or organization) scope of use? Only statistics, this question is not about…
Peter Krauss
  • 13,174
  • 24
  • 167
  • 304
6
votes
4 answers

Most common standard to provide a feed of upcoming events via web

What are common methods / official standards for surfacing event or calendar data? My use case is that I want to aggregate event information from several different websites into a single calendar or event listing (this is on an intranet, we have…
Joel
  • 814
  • 2
  • 9
  • 19
6
votes
1 answer

Is there a microformat for labeling sentences, words, parts-of-speech, etc

Is there a microformat for basic natural language process that has tags for sentences, words, parts-of-speech, etc...? I have searched the web but could not find any.
Jeff Kubina
  • 800
  • 4
  • 15
6
votes
6 answers

Do you use Microformats, RDF, Dublin Core or another type of semantic markup?

Do you use any of these technologies? Which ones are current and hence sensible to include in a site? Documentation on any seems to be relatively sparse, and usage of any of them limited, as search engines get better, are they even relevant any…
Rich Bradshaw
  • 71,795
  • 44
  • 182
  • 241
6
votes
5 answers

How does the hcard concept work in HTML

So recently am reading a book called Adaptive Webdesign and I came across something called an hcard, hcalendar and I went to it's respective documentation page. Now the question is am not understanding how this works? It is used to represent…
Mr. Alien
  • 153,751
  • 34
  • 298
  • 278
6
votes
3 answers

Is there a way to validate hAtom microformat?

I have implemented hAtom microformat on my blog. At least, I think I have, but I can't find any validator (or any software that uses hAtom) in order to determine if I have done this correctly. A Google search for "hatom validator" currently…
Kip
  • 107,154
  • 87
  • 232
  • 265
1
2 3
10 11