Revision as of 17:11, 13 June 2013 by Barnabywalters (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)

Jump to: navigation, search

Tantek Çelik (Editor)

h-event is a simple, open format for publishing events on the web. h-event is one of several open microformat draft standards suitable for embedding data in HTML/HTML5.

h-event is the microformats-2 replacement for hCal.



Here is a simple event example:

<div class="h-event">
  <h1 class="p-name">Microformats Meetup</h1>
  <p>From <time class="dt-start" datetime="2013-06-30 12:00:00">on 30<sup>th</sup> June 2013, 12:00</time>
     to <time class="dt-end" datetime="2013-06-30 18:00:00">18:00</time>
     at <span class="p-location">Some bar in SF</span></p>
  <p class="summary">Get together and discuss all things microformat-related.</p>

Get started

The class h-event is a root class name that indicates the presence of an h-event.

p-name, p-summary, dt-start and the other h-event property classnames listed below define properties of the h-event.

See microformats-2-parsing to learn more about property classnames.


Inside an element with class h-event:

Experimental properties currently in use in the wild but not part of the official h-entry spec:


h-event is a microformats.org draft specification. Public discussion on h-event takes place on h-event-feedback, the #microformats irc channel on irc.freenode.net, and microformats-new mailing list.

h-event is ready to use and implemented in the wild, but for backwards compatibility you should also mark h-events up as classic hCal events.

Property Details

(stub, to be expanded)

p-location is often a postal address, optionally marked up with h-adr, for example:

<p class="p-adr h-adr">
  <span class="p-street-address">17 Austerstræti</span>
  <span class="p-locality">Reykjavík</span>
  <span class="p-country-name">Iceland</span>

Examples in the wild

Real world in the wild examples:


This work is based on the existing hCal and vcalendar specifications.

Design Principles

(stub, expand)

See Also


h-event was last modified: Wednesday, December 31st, 1969