<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MatthiasWillerich</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MatthiasWillerich"/>
	<link rel="alternate" type="text/html" href="http://microformats.org/wiki/Special:Contributions/MatthiasWillerich"/>
	<updated>2026-06-04T00:36:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=figure&amp;diff=37914</id>
		<title>figure</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=figure&amp;diff=37914"/>
		<updated>2009-02-15T22:08:24Z</updated>

		<summary type="html">&lt;p&gt;MatthiasWillerich: /* Inspiration and Acknowledgments */ updated broken link to HTML 5 draft section figure&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;entry-title&amp;gt;figure 0.3&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
{{Template:DraftSpecification}}&lt;br /&gt;
&lt;br /&gt;
{{TOC-right}}&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
&lt;br /&gt;
'''This is a DRAFT specification.'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
; &amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;Editor&amp;lt;/span&amp;gt; &lt;br /&gt;
: &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:TobyInk|Toby Inkster]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://tobyinkster.co.uk/&amp;lt;/span&amp;gt;)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
; Authors&lt;br /&gt;
: Toby Inkster (affiliations above)&lt;br /&gt;
: &amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;[[User:Csarven|Sarven Capadisli]]&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;url&amp;quot;&amp;gt;http://www.csarven.ca&amp;lt;/span&amp;gt;)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Acknowledgements: See [[figure#Inspiration_and_Acknowledgements|acknowledgements]].&lt;br /&gt;
&lt;br /&gt;
[[figure#Copyright|Copyright]] and [[figure#Patents|patents]] statements apply.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Many HTML documents include supporting images, such as photographs, flow charts, graphs, blueprints or screen captures. These are usually incorporated using the HTML &amp;amp;lt;img&amp;gt; element, however this offers no way of differentiating between such supplementary content and mere decorative images.&lt;br /&gt;
&lt;br /&gt;
Authors often wish to annotate these images with captions or attributions. Currently there is no markup to explicitly associate such text with an image and readers must rely on the proximity of the image and text on the finished rendered page. This specification aims to allow authors to mark up captions and credits, explicitly associating them with an image. &lt;br /&gt;
&lt;br /&gt;
This specification ''is not'' intended as a method for marking up ''all'' images on web pages — the HTML &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;img/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; element is adequate for decorative and many other images. This specification is intended to be used for images that add or clarify information to the article's text.&lt;br /&gt;
&lt;br /&gt;
{{rfc-2119-intro}}&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right;width:50%;font-size:85%;margin:0 0 1em 1em&amp;quot;&amp;gt;&lt;br /&gt;
====Key====&lt;br /&gt;
Based on Perl's [http://www.perl.com/doc/manual/html/pod/perlre.html standard quantifiers]:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''bold''' {1} || {{must}} be present exactly once&lt;br /&gt;
|- &lt;br /&gt;
| ''italic''&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; || {{optional}}, and {{may}} occur more than once &lt;br /&gt;
|- &lt;br /&gt;
| + || {{must}} be present, and {{may}} occur more than once &lt;br /&gt;
|- &lt;br /&gt;
| ? || {{optional}}, but {{must-not}} occur more than once &lt;br /&gt;
|- &lt;br /&gt;
| [square brackets] || list of common values &lt;br /&gt;
|- &lt;br /&gt;
| (parentheses) || data format &lt;br /&gt;
|- &lt;br /&gt;
| # || comment &lt;br /&gt;
|- &lt;br /&gt;
| ! || awaiting documentation &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''figure''' {1}&lt;br /&gt;
** '''image''' {1}&lt;br /&gt;
** '''legend''' +&lt;br /&gt;
** ''credit'' (text | [[hcard|hCard]])*&lt;br /&gt;
** ''subject'' (text | [[hcard|hCard]] | [[geo]] | [[adr]] | [[hcalendar|hcalendar event]])*&lt;br /&gt;
&lt;br /&gt;
Additionally, an figure {{may}} contain zero or more links marked up with [[rel-tag]].&lt;br /&gt;
&lt;br /&gt;
Please note that the &amp;quot;legend&amp;quot; element should contain what would normally be called a &amp;quot;[http://en.wiktionary.org/wiki/Caption caption]&amp;quot;. The term &amp;quot;legend&amp;quot; is used in this specification instead of &amp;quot;caption&amp;quot; in order to maintain parity with the element names used in HTML5. (In turn HTML 5 uses &amp;amp;lt;legend&amp;gt; instead of &amp;amp;lt;caption&amp;gt; to avoid triggering table layouts in legacy browsers.)&lt;br /&gt;
&lt;br /&gt;
The subject, credit and tags may be children of the legend, in which case the text within them forms part of the legend as well as part of the child elements.&lt;br /&gt;
&lt;br /&gt;
====Embedded Microformats====&lt;br /&gt;
&lt;br /&gt;
If an element with class &amp;quot;credit&amp;quot; also has class &amp;quot;vcard&amp;quot; then the element {{should}} be considered to be the [[hcard]] for a credited person or organisation. Otherwise it {{must}} be considered as a plain text credit.&lt;br /&gt;
&lt;br /&gt;
If an element with class &amp;quot;subject&amp;quot; also has a class &amp;quot;vcard&amp;quot; then the element {{should}} be considered to be the [[hcard]] for the subject of the image - for example the person depicted by a photograph or sketch. If an element with class &amp;quot;subject&amp;quot; also has a class &amp;quot;adr&amp;quot; or &amp;quot;geo&amp;quot; then the element should be considered to be the [[adr|address]] or [[geo|geographic location]] of the subject of the picture - for example the location of a landscape in a photo or the address of a the building shown in blueprints. If an element with class &amp;quot;subject&amp;quot; also has a class &amp;quot;vevent&amp;quot; then the element should be considered to be the [[hcalendar|vevent]] for the subject of a figure - for example a photograph of a sporting event, or a diagram of a military operation.&lt;br /&gt;
&lt;br /&gt;
====Design Patterns Used====&lt;br /&gt;
&lt;br /&gt;
The [[include-pattern|include pattern]] {{may}} be used within figures.&lt;br /&gt;
&lt;br /&gt;
As the figure microformat does not specify any properties that are not human-readable, the [[abbr-design-pattern|abbr design pattern]] {{should-not}} be used directly within a figure, though it {{may}} be used within children formatted in accordance to another microformat - e.g. as [[hcalendar|vevents]] often use the abbr design pattern to specify their start time, a figure subject formatted as a vevent {{may}} use the abbr design pattern in accordance with the [[hcalendar]] specification.&lt;br /&gt;
&lt;br /&gt;
=== Minimisation ===&lt;br /&gt;
&lt;br /&gt;
To simplify markup, a number of shortcuts are explicitly allowed by this specification.&lt;br /&gt;
&lt;br /&gt;
# When no &amp;quot;image&amp;quot; class is found within the figure, the first &amp;amp;lt;img&amp;gt; element {{must}} be taken to be the image.&lt;br /&gt;
# The longdesc attribute {{may}} be used to point to a legend elsewhere on the page in a manner similar to the [[include-pattern|include pattern]]. As with the inclusion, parsers should ignore the pattern if the fragment linked to is an off-page resource.&lt;br /&gt;
# If the &amp;quot;legend&amp;quot; class is found on the same element as the &amp;quot;image&amp;quot; class (or the image inferred by the previous rule), then the title attribute {{must}} be used as the legend.&lt;br /&gt;
#* Rationale: some people have questioned the use of the title attribute rather than the alt attribute. The purpose of the figure's legend is to display explanatory text alongside the image. The purpose of the alt attribute is &amp;quot;to serve as content when the element cannot be rendered normally&amp;quot; [http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt] — i.e. when the image cannot be displayed. Thus the alt and legend fulfil different purposes. Authors are encouraged to consider accessibility carefully when building their page, and supply appropriate alt text in addition to the image's legend.&lt;br /&gt;
# If no legend can be found using the legend class or longdesc attribute, then the alt attribute {{must}} be used in its place.&lt;br /&gt;
# The &amp;quot;image&amp;quot; and/or &amp;quot;legend&amp;quot; classes may be attached to the same element as the element with the &amp;quot;figure&amp;quot; class.&lt;br /&gt;
&lt;br /&gt;
=== XHTML Meta Data Profile ===&lt;br /&gt;
&lt;br /&gt;
Authors using the figure microformat {{should}} add a profile link to the XMDP profile. The preferred URL is &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;http://purl.org/uF/figure/draft&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;. For more information on how to link to the profile, see [[profile-uris|Profile URIs]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dl class=&amp;quot;profile&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;dt id=&amp;quot;class&amp;quot;&amp;gt;class&lt;br /&gt;
&amp;lt;dd&amp;gt;[http://www.w3.org/TR/REC-html40/struct/global.html#adef-class HTML 4 definition of &amp;quot;class&amp;quot;.] This profile defines the following class names:&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt id=&amp;quot;figure&amp;quot;&amp;gt;figure&lt;br /&gt;
&amp;lt;dd&amp;gt;A section containing a graphical element which provides information relevant to the document. A figure will include one image and at least one legend. The legend may be implied from the image's &amp;lt;code&amp;gt;longdesc&amp;lt;/code&amp;gt; attribute.&lt;br /&gt;
&amp;lt;dt id=&amp;quot;image&amp;quot;&amp;gt;image&lt;br /&gt;
&amp;lt;dd&amp;gt;The primary graphical element contained within a section with &amp;lt;code&amp;gt;class=&amp;quot;figure&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;dt id=&amp;quot;legend&amp;quot;&amp;gt;legend&lt;br /&gt;
&amp;lt;dd&amp;gt;A description or explanation for a graphic, intended to be displayed alongside it.&lt;br /&gt;
&amp;lt;dt id=&amp;quot;subject&amp;quot;&amp;gt;subject&lt;br /&gt;
&amp;lt;dd&amp;gt;A person, place, event or other thing or concept depicted by a graphic.&lt;br /&gt;
&amp;lt;dt id=&amp;quot;credit&amp;quot;&amp;gt;credit&lt;br /&gt;
&amp;lt;dd&amp;gt;A person, organisation or other agent that created, contributed to or supplied a graphic.&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img class=&amp;quot;image&amp;quot; src=&amp;quot;photo.jpeg&amp;quot; alt=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;legend&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;a rel=&amp;quot;tag&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Photography&amp;quot;&amp;gt;Photo&amp;lt;/a&amp;gt;&lt;br /&gt;
    of &amp;lt;span class=&amp;quot;subject&amp;quot;&amp;gt;Albert Einstein&amp;lt;/span&amp;gt; by&lt;br /&gt;
    &amp;lt;span class=&amp;quot;vcard credit&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;span class=&amp;quot;fn&amp;quot;&amp;gt;Paul Ehrenfest&amp;lt;/span&amp;gt;&lt;br /&gt;
      (&amp;lt;span class=&amp;quot;role&amp;quot;&amp;gt;photographer&amp;lt;/span&amp;gt;)&lt;br /&gt;
    &amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parsed as:&lt;br /&gt;
&lt;br /&gt;
* '''Image''': photo.jpeg&lt;br /&gt;
* '''Legend''': Photo of Albert Einstein by Paul Ehrenfest (photographer)&lt;br /&gt;
* '''Credit''': Paul Ehrenfest (hCard)&lt;br /&gt;
* '''Subject''': Albert Einstein&lt;br /&gt;
* '''Categories''': Photography&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;label style=&amp;quot;display:block&amp;quot; class=&amp;quot;legend&amp;quot;&amp;gt;January sales data&amp;lt;/label&amp;gt;&lt;br /&gt;
  &amp;lt;img class=&amp;quot;image&amp;quot; src=&amp;quot;salesdata.png&amp;quot;&lt;br /&gt;
  alt=&amp;quot;Widget sales have fallen slightly, but widget repair kits have sold well.&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parsed as:&lt;br /&gt;
&lt;br /&gt;
* '''Image''': salesdata.png&lt;br /&gt;
* '''Legend''': January sales data&lt;br /&gt;
&lt;br /&gt;
=== Examples Using Minimisation ===&lt;br /&gt;
&lt;br /&gt;
The following examples {{must}} all be considered equivalent:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- Full (non-minimised) version. --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img class=&amp;quot;image&amp;quot; src=&amp;quot;foo.jpeg&amp;quot; alt=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;legend&amp;quot;&amp;gt;Foo&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- class=&amp;quot;image&amp;quot; can be omitted if the image is the first child of the figure --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;foo.jpeg&amp;quot; alt=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;legend&amp;quot;&amp;gt;Foo&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- class=&amp;quot;image&amp;quot; can be omitted if the image is the first child of the figure --&amp;gt;&lt;br /&gt;
&amp;lt;!-- If the legend and figure are the same node, then use the title attribute as legend --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img class=&amp;quot;legend&amp;quot; src=&amp;quot;foo.jpeg&amp;quot; alt=&amp;quot;&amp;quot; title=&amp;quot;Foo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- class=&amp;quot;image&amp;quot; can be omitted if the image is the first child of the figure --&amp;gt;&lt;br /&gt;
&amp;lt;!-- If the legend and figure are the same node, then use the title attribute as legend --&amp;gt;&lt;br /&gt;
&amp;lt;!-- legend and image properties may be on the figure root element --&amp;gt;&lt;br /&gt;
&amp;lt;img class=&amp;quot;figure legend&amp;quot; src=&amp;quot;foo.jpeg&amp;quot; alt=&amp;quot;&amp;quot; title=&amp;quot;Foo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;!-- Use @longdesc to point to a legend outside of the figure root element --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img class=&amp;quot;image&amp;quot; src=&amp;quot;foo.jpeg&amp;quot; longdesc=&amp;quot;#the-legend&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;legend&amp;quot; id=&amp;quot;the-legend&amp;quot;&amp;gt;Foo&amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== HTML 5 Considerations ==&lt;br /&gt;
&lt;br /&gt;
When used in [http://www.w3.org/html/wg/html5/ HTML 5], any &amp;amp;lt;figure&amp;gt; element has an implied class &amp;quot;figure&amp;quot;; any &amp;amp;lt;legend&amp;gt; element has an implied class &amp;quot;legend&amp;quot;. For example, the following HTML 5:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;foo.jpeg&amp;quot; alt=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;legend&amp;gt;Foo&amp;lt;/legend&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is interpreted as if it were:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;foo.jpeg&amp;quot; alt=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;legend class=&amp;quot;legend&amp;quot;&amp;gt;Foo&amp;lt;/legend&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Inspiration and Acknowledgments ==&lt;br /&gt;
&lt;br /&gt;
This microformat is largely intended to be a simple [http://en.wikipedia.org/wiki/Porting &amp;quot;port&amp;quot;] of HTML 5's &amp;lt;code&amp;gt;&amp;amp;lt;figure&amp;gt;&amp;lt;/code&amp;gt; construct to other versions of HTML and XHTML.&lt;br /&gt;
&lt;br /&gt;
The three required properties (figure, image and caption) are derived from that. The additional properties (credit, subject) are included because this information seems to be commonly supplied in figures &amp;quot;in the wild&amp;quot; in prose even if it is not marked up with wrapper elements.&lt;br /&gt;
&lt;br /&gt;
* [http://www.whatwg.org/specs/web-apps/current-work/#the-figure-element HTML 5 Draft Specification: &amp;lt;code style=&amp;quot;text-decoration:underline&amp;quot;&amp;gt;&amp;amp;lt;figure&amp;gt;&amp;lt;/code&amp;gt; element]&lt;br /&gt;
* [http://edward.oconnor.cx/2007/08/figure-markup-redux Edward O'Connor: Figure markup redux]&lt;br /&gt;
* [http://www.contentwithstyle.co.uk/Articles/161/figure-microformats/ Matthias Willerich: Figure Microformats]&lt;br /&gt;
* [[figure-examples]] (various authors)&lt;br /&gt;
&lt;br /&gt;
Other references which were considered:&lt;br /&gt;
&lt;br /&gt;
* [http://www.w3.org/MarkUp/html3/figures HTML 3 Specification: Figures] — never caught on, not implemented in browsers.&lt;br /&gt;
* [http://www.w3.org/Style/Examples/007/figures.html Bert Bos: figures &amp;amp; captions]&lt;br /&gt;
* [http://rjohara.net/server/css-figures-captions/ Robert J O'Hara: Scalable figures and captions with CSS and HTML]&lt;br /&gt;
* [http://www.cs.tut.fi/~jkorpela/www/captions.html Jukka Korpela: Image captions on Web pages]&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
This specification is released into the public domain.&lt;br /&gt;
&lt;br /&gt;
{{MicroFormatPublicDomainContributionStatement}}&lt;br /&gt;
&lt;br /&gt;
== Patents ==&lt;br /&gt;
{{MicroFormatPatentStatement}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[figure-examples]]&lt;br /&gt;
*[[figure-formats]]&lt;br /&gt;
*[[figure-brainstorming]]&lt;br /&gt;
*[[figure-issues]]&lt;/div&gt;</summary>
		<author><name>MatthiasWillerich</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=figure-examples&amp;diff=37913</id>
		<title>figure-examples</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=figure-examples&amp;diff=37913"/>
		<updated>2009-02-15T21:50:27Z</updated>

		<summary type="html">&lt;p&gt;MatthiasWillerich: Added link to the now existing draft figure 0.3, and updated the link to CwS article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;Figure examples&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This page documents examples of mark up for figures like images, captions and data tables in webpages and the class-names that they've used ''' - [[User:Chris_Messina|Chris Messina]]&lt;br /&gt;
&lt;br /&gt;
== The Problem ==&lt;br /&gt;
There are no HTML tags for identifying or marking up supporting content like illustrative images (as in encyclopaedic references), photographs and their captions, credits or licenses (as in news articles) or data tables. Typically this content can be found in close proximity to the relevant information, but oftentimes mixed with other elements.&lt;br /&gt;
&lt;br /&gt;
The goal of this effort is to document and reflect the real-world needs of such design patterns while paying close attention to the types of data that people are using in this supportive role and also paying close attention to the existing class names and presentational styles that go along with such formats.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Draft ==&lt;br /&gt;
[[figure | A draft]] has been created that takes many of the suggestions of this discussion on board.&lt;br /&gt;
&lt;br /&gt;
== Participants ==&lt;br /&gt;
* [[User:Chris_Messina | Chris Messina]]&lt;br /&gt;
* [[User:EdwardOConnor | Edward O'Connor]]&lt;br /&gt;
* [[User:AaronGustafson | Aaron Gustafson]]&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
== Real-World Examples ==&lt;br /&gt;
&lt;br /&gt;
These are examples and implementations in the wild of various efforts at marking up figures in web pages, blog posts and articles.&lt;br /&gt;
&lt;br /&gt;
=== CNET ===&lt;br /&gt;
&lt;br /&gt;
CNET uses &amp;lt;code&amp;gt;cnet-image-div&amp;lt;/code&amp;gt;, '''&amp;lt;code&amp;gt;float-left&amp;lt;/code&amp;gt;''', &amp;lt;code&amp;gt;cnet-image&amp;lt;/code&amp;gt;,  '''&amp;lt;code&amp;gt;image-credit&amp;lt;/code&amp;gt;''' and '''&amp;lt;code&amp;gt;image-caption&amp;lt;/code&amp;gt;''' to mark up supporting photographs and artwork.&lt;br /&gt;
&lt;br /&gt;
See this example: [http://blogs.cnet.com/8301-13504_1-9758731-15.html?tag=cnetfd.blogs.item Why I recommend the iPhone -- and don't.]&lt;br /&gt;
&lt;br /&gt;
=== HTML5 ===&lt;br /&gt;
&lt;br /&gt;
HTML5 introduces a new tag called [http://www.whatwg.org/specs/web-apps/current-work/multipage/section-embedded.html#figure &amp;quot;figure&amp;quot;], which represents a block-level image, along with a caption:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;figure id=&amp;quot;fig2&amp;quot;&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;legend&amp;amp;gt;Figure 2. Install Mozilla XForms dialog&amp;amp;lt;/legend&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;img alt=&amp;quot;A Web site is requesting permission to install the following item: &lt;br /&gt;
    Mozilla XForms 0.7 Unsigned&amp;quot; &lt;br /&gt;
    src=&amp;quot;installdialog.jpg&amp;quot; border=&amp;quot;0&amp;quot; height=&amp;quot;317&amp;quot; hspace=&amp;quot;5&amp;quot; vspace=&amp;quot;5&amp;quot; width=&amp;quot;331&amp;quot; /&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/figure&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is slightly different from the broader goal of this effort, but nevertheless points to current work on this topic.&lt;br /&gt;
&lt;br /&gt;
== Existing Practices ==&lt;br /&gt;
&lt;br /&gt;
In many cases, classes that are used exclusively for alignment and positioning are documented here in order to have an accurate sense for how people mark up this kind of content in practice.&lt;br /&gt;
&lt;br /&gt;
=== [http://factoryjoe.com/blog FactoryCity Blog] ===&lt;br /&gt;
&lt;br /&gt;
* uses a series of &amp;lt;code&amp;gt;figure&amp;lt;/code&amp;gt; classes to markup figures. &lt;br /&gt;
* the approach used is to mark up block level figures with both &amp;lt;code&amp;gt;figure&amp;lt;/code&amp;gt; and either &amp;lt;code&amp;gt;figure-a&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;figure-c&amp;lt;/code&amp;gt; classes.&lt;br /&gt;
* &amp;lt;code&amp;gt;figure-b&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;figure-d&amp;lt;/code&amp;gt; are used for inline figures aligned right and left, respectively&lt;br /&gt;
* the a, b, c, d pattern is modeled after the top, right, bottom, left order of CSS attribute values&lt;br /&gt;
* Paul Wilkins [http://microformats.org/discuss/mail/microformats-discuss/2007-August/010421.html suggested more semantic names for these classes on µf-discuss]&lt;br /&gt;
&lt;br /&gt;
=== [http://getk2.com K2 WordPress Theme] ===&lt;br /&gt;
&lt;br /&gt;
* The K2 [http://kaytwo.googlecode.com/svn/trunk/style.css stylesheet] includes the following figure-related CSS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.center {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
.alignright {&lt;br /&gt;
	float: right;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
.alignleft {&lt;br /&gt;
	float: left&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.center, img[align=&amp;quot;center&amp;quot;] {&lt;br /&gt;
	display: block;&lt;br /&gt;
	margin-left: auto;&lt;br /&gt;
	margin-right: auto;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.alignright, img[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 0 2px 7px;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.alignleft, img[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 7px 2px 0;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.noborder {&lt;br /&gt;
	border: none !important;&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [http://code.google.com/p/habari/ Habari K2 Theme] ===&lt;br /&gt;
&lt;br /&gt;
Similar to K2, the [http://habari.googlecode.com/svn/trunk/htdocs/user/themes/k2/style.css Habari K2] instance supports the following classes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.center {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
.alignright {&lt;br /&gt;
	float: right;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
.alignleft {&lt;br /&gt;
	float: left&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.center, img[align=&amp;quot;center&amp;quot;] {&lt;br /&gt;
	display: block;&lt;br /&gt;
	margin-left: auto;&lt;br /&gt;
	margin-right: auto;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.alignright, img[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 0 2px 7px;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.alignleft, img[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 7px 2px 0;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.noborder {&lt;br /&gt;
	border: none !important;&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [http://webrevolutionary.com/coldblue ColdBlue WordPress Theme] ===&lt;br /&gt;
&lt;br /&gt;
* includes the classes &amp;lt;code&amp;gt;float-left&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;float-right&amp;lt;/code&amp;gt; for aligning figures&lt;br /&gt;
&lt;br /&gt;
=== [http://edward.oconnor.cx/ Edward O'Connor's blog] ===&lt;br /&gt;
&lt;br /&gt;
* POSH figure markup, based on several inputs:&lt;br /&gt;
** HTML5's figure element&lt;br /&gt;
** RFC 2629's figure element&lt;br /&gt;
** [http://microformats.org/discuss/mail/microformats-discuss/2007-August/010421.html Paul Wilkins' class names]&lt;br /&gt;
* Documented in [http://edward.oconnor.cx/2007/04/marking-up-figures Marking up figures], [http://edward.oconnor.cx/2007/08/figure-markup-redux Figure markup redux], and described in [http://edward.oconnor.cx/profiles/figures XMDP]&lt;br /&gt;
&lt;br /&gt;
=== Revenue Watch Institute (website forthcoming) ===&lt;br /&gt;
&lt;br /&gt;
During the development of the new website for Revenue Watch, this was what we came up with to handle figures:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/path/to/img.jpg&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;credit&amp;quot;&amp;gt;&amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;Phtotograph&amp;quot;&amp;gt;Photo&amp;lt;/abbr&amp;gt; by &amp;lt;cite&amp;gt;Bob Johnson&amp;lt;/cite&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;caption&amp;quot;&amp;gt;&amp;lt;em class=&amp;quot;title&amp;quot;&amp;gt;Figure 1&amp;lt;/em&amp;gt; Cras rutrum, enim at placerat varius, nisi massa consectetuer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Figures can be categorized as types using the &amp;quot;type&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; (here type is embedded in the credit line, using [[abbr-design-pattern|the &amp;lt;code&amp;gt;ABBR&amp;lt;/code&amp;gt; design pattern]]) - current recommendations: &amp;quot;photograph&amp;quot; or &amp;quot;illustration&amp;quot; (these could possibly be extended to include other options such as &amp;quot;chart,&amp;quot; &amp;quot;line-art&amp;quot;, etc.) (optional)&lt;br /&gt;
* The &amp;quot;title&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; can be added to any element within the figure (optional)&lt;br /&gt;
* Credit for the figure is denoted with the &amp;quot;credit&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; (optional)&lt;br /&gt;
* A caption is also available (optional)&lt;br /&gt;
&lt;br /&gt;
Default styles:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.figure {&lt;br /&gt;
  margin: 0 0 1.5em;&lt;br /&gt;
}&lt;br /&gt;
.figure p {&lt;br /&gt;
  margin: 0;&lt;br /&gt;
  width: auto;&lt;br /&gt;
}&lt;br /&gt;
.figure .credit {&lt;br /&gt;
  font-size: .8em;&lt;br /&gt;
  text-align: right;&lt;br /&gt;
}&lt;br /&gt;
.figure .credit cite {&lt;br /&gt;
  font-style: inherit;&lt;br /&gt;
}&lt;br /&gt;
.figure .caption {&lt;br /&gt;
  font-style: italic;&lt;br /&gt;
  font-size: 1.1em;&lt;br /&gt;
}&lt;br /&gt;
.figure .title {&lt;br /&gt;
  font-style: normal;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
.figure .title:after {&lt;br /&gt;
  content: &amp;quot;:&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No presentational information is added to the figures. The presentation is determined via script as a progressive enhancement ([http://www.alistapart.com/articles/figurehandler ALA article]).&lt;br /&gt;
&lt;br /&gt;
Tables receive no figure-related styles, but graphs, charts, and maps do.&lt;br /&gt;
&lt;br /&gt;
====Comments====&lt;br /&gt;
Why is &amp;quot;credit&amp;quot; not an hCard? Also, for pictures of places any geo/ hcard microformat included in the caption should be understood to be associated with the figure. There is debate elsewhere, about whether coordinates should be for the camera position, or the object photographed; with consensus coming down on the side of the former [http://commons.wikimedia.org/wiki/Commons_talk:Geocoding#Geotagging_the_camera_or_the_Objekt], [http://commons.wikimedia.org/wiki/Commons_talk:Geocoding#Camera_vs_object_location]. That said, the whole &amp;quot;figure&amp;quot; div could be an hcard, with the picture being part of that; and a separate hCard for the photographer included. Complex... [[User:AndyMabbett|Andy Mabbett]] 16:52, 21 Aug 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
:For tangible entities (people, orgs, locations) hCard seems appropriate to me as well, however, figures can be illustrations or be composed of fictional (has this been addressed in hCard?) parts. In this case, &amp;quot;credit&amp;quot; could be defined as &amp;quot;text | hCard&amp;quot;. Regarding hCard, TITLE or NOTE may be sufficient to define &amp;quot;credit&amp;quot;. [[User:Csarven|Sarven Capadisli]] 09:55, 22 Feb 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
I like the idea of the hCard &amp;lt;em&amp;gt;if&amp;lt;/em&amp;gt; there is more information available other than just the name. If you are just putting the person's name, I still don't see the point of making that an hCard. Add some additional data (a link, email address, etc.) and I think you have an argument. Otherwise I think it's a waste of markup and simply clutters the results of whatever hCards might exist elsewhere on the page. As for geo-data, I think that sort of information may be useful, but I think I'd prefer to see that embedded within a &amp;lt;code&amp;gt;longdesc&amp;lt;/code&amp;gt; page with more info on the image. Inside an article it seems superfluous to me. A &amp;lt;code&amp;gt;longdesc&amp;lt;/code&amp;gt; page for an image could include much more data about where it was taken, by whom (possibly even a full hCard of the creator), etc. &lt;br /&gt;
[[User:AaronGustafson|Aaron Gustafson]] 18:24, 22 Aug 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
I like this idea, it certainly seems neat. Can we also please add an &amp;quot;optimisation&amp;quot; to explicitly say that if the IMG element itself has class=&amp;quot;caption&amp;quot; then the TITLE attribute is taken to be the caption for the image. That way, we can support very minimal figures like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;img class=&amp;quot;figure caption&amp;quot; title=&amp;quot;Sales data for March&amp;quot; src=&amp;quot;march_sales.png&amp;quot;&lt;br /&gt;
alt=&amp;quot;We've experienced a huge growth in Widget sales this month!&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Through to more verbose figures including credits with [[hcard]], and categories via [[rel-tag]]. [[User:TobyInk|TobyInk]] 06:46, 18 Feb 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
=== [http://www.contentwithstyle.co.uk/ Content with Style] ===&lt;br /&gt;
&lt;br /&gt;
In an attempt to bring together some of the ideas suggested, an addition to the Revenue Watch example was made. [http://www.contentwithstyle.co.uk/content/figure-microformats This solution] is based on&lt;br /&gt;
* Edward O'Connor's [http://edward.oconnor.cx/2007/08/figure-markup-redux Figure markup redux]&lt;br /&gt;
* the [[#Revenue Watch Institute(website forthcoming)|Revenue Watch example]] and&lt;br /&gt;
* [[#HTML5|HTML5's figure element]] above&lt;br /&gt;
&lt;br /&gt;
The idea was to group meta information about the image in a legend container, just like HTML5 does. This leads to more freedom when styling the figure block, as the information can be grouped or treated separately.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;image&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;/path/to/img.jpg&amp;quot; width=&amp;quot;400&amp;quot; height=&amp;quot;602&amp;quot; alt=&amp;quot;Lorem ipsum dolor sit amet&amp;quot; /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;legend&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;p class=&amp;quot;caption&amp;quot;&amp;gt;Lorem ipsum dolor sit amet.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p class=&amp;quot;credit&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;Photograph&amp;quot;&amp;gt;Photo&amp;lt;/abbr&amp;gt;&lt;br /&gt;
      &amp;amp;amp;copy; &amp;lt;cite&amp;gt;John Doe&amp;lt;/cite&amp;gt;&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The &amp;quot;legend&amp;quot; class is not semantically needed -- &amp;quot;caption&amp;quot; and &amp;quot;credit&amp;quot; suffice. IMHO, it should be left out of the microformat, though of course (as with other microformats) authors are free to add additional elements and classes to their data to assist with styling. [[User:TobyInk|TobyInk]] 06:39, 18 Feb 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
== Further discussion ==&lt;br /&gt;
&lt;br /&gt;
A few blog posts capture the essence of this discussion well:&lt;br /&gt;
&lt;br /&gt;
* [http://factoryjoe.com/blog/2007/02/26/a-design-pattern-for-image-and-figure-alignment/ A design pattern for image and figure alignment]&lt;br /&gt;
* [http://edward.oconnor.cx/2007/04/marking-up-figures Marking up figures]&lt;br /&gt;
* [http://www.css3.info/styling-figures-with-css3/ Styling figures with CSS3]&lt;br /&gt;
* [http://www.simplebits.com/notebook/2005/07/10/figures.html When Floated Figures Attack!]&lt;br /&gt;
* [http://www.pearsonified.com/2007/06/how-to-format-images-for-feed-readers.php How to Format Images for Feed Readers]&lt;br /&gt;
* [http://www.alistapart.com/articles/figurehandler If I Told You You Had a Beautiful Figure...] by AARON GUSTAFSON&lt;br /&gt;
* [http://www.contentwithstyle.co.uk/content/figure-microformats Figure Microformats]&lt;/div&gt;</summary>
		<author><name>MatthiasWillerich</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=User:MatthiasWillerich&amp;diff=33505</id>
		<title>User:MatthiasWillerich</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=User:MatthiasWillerich&amp;diff=33505"/>
		<updated>2007-11-27T10:12:12Z</updated>

		<summary type="html">&lt;p&gt;MatthiasWillerich: yay personal page!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Matthias Willerich is a London based web developer, and you can find more of his work at [http://www.contentwithstyle.co.uk Content with Style] and his own, forever under construction site [http://www.willerich.com willerich.com]. &lt;br /&gt;
&lt;br /&gt;
He's currently trying to make sense of the [[figure-examples]] in this wiki.&lt;/div&gt;</summary>
		<author><name>MatthiasWillerich</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=figure-examples&amp;diff=23543</id>
		<title>figure-examples</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=figure-examples&amp;diff=23543"/>
		<updated>2007-11-25T16:05:29Z</updated>

		<summary type="html">&lt;p&gt;MatthiasWillerich: Added Content with Style example code&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;Figure examples&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This page documents examples of mark up for figures like images, captions and data tables in webpages and the class-names that they've used ''' - [[User:Chris_Messina|Chris Messina]]&lt;br /&gt;
&lt;br /&gt;
== The Problem ==&lt;br /&gt;
There are no HTML tags for identifying or marking up supporting content like illustrative images (as in encyclopaedic references), photographs and their captions, credits or licenses (as in news articles) or data tables. Typically this content can be found in close proximity to the relevant information, but oftentimes mixed with other elements.&lt;br /&gt;
&lt;br /&gt;
The goal of this effort is to document and reflect the real-world needs of such design patterns while paying close attention to the types of data that people are using in this supportive role and also paying close attention to the existing class names and presentational styles that go along with such formats.&lt;br /&gt;
&lt;br /&gt;
== Participants ==&lt;br /&gt;
* [[User:Chris_Messina | Chris Messina]]&lt;br /&gt;
* [[User:EdwardOConnor | Edward O'Connor]]&lt;br /&gt;
* [[User:AaronGustafson | Aaron Gustafson]]&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
== Real-World Examples ==&lt;br /&gt;
&lt;br /&gt;
These are examples and implementations in the wild of various efforts at marking up figures in web pages, blog posts and articles.&lt;br /&gt;
&lt;br /&gt;
=== CNET ===&lt;br /&gt;
&lt;br /&gt;
CNET uses &amp;lt;code&amp;gt;cnet-image-div&amp;lt;/code&amp;gt;, '''&amp;lt;code&amp;gt;float-left&amp;lt;/code&amp;gt;''', &amp;lt;code&amp;gt;cnet-image&amp;lt;/code&amp;gt;,  '''&amp;lt;code&amp;gt;image-credit&amp;lt;/code&amp;gt;''' and '''&amp;lt;code&amp;gt;image-caption&amp;lt;/code&amp;gt;''' to mark up supporting photographs and artwork.&lt;br /&gt;
&lt;br /&gt;
See this example: [http://blogs.cnet.com/8301-13504_1-9758731-15.html?tag=cnetfd.blogs.item Why I recommend the iPhone -- and don't.]&lt;br /&gt;
&lt;br /&gt;
=== HTML5 ===&lt;br /&gt;
&lt;br /&gt;
HTML5 introduces a new tag called [http://www.whatwg.org/specs/web-apps/current-work/multipage/section-embedded.html#figure &amp;quot;figure&amp;quot;], which represents a block-level image, along with a caption:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;figure id=&amp;quot;fig2&amp;quot;&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;legend&amp;amp;gt;Figure 2. Install Mozilla XForms dialog&amp;amp;lt;/legend&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;img alt=&amp;quot;A Web site is requesting permission to install the following item: &lt;br /&gt;
    Mozilla XForms 0.7 Unsigned&amp;quot; &lt;br /&gt;
    src=&amp;quot;installdialog.jpg&amp;quot; border=&amp;quot;0&amp;quot; height=&amp;quot;317&amp;quot; hspace=&amp;quot;5&amp;quot; vspace=&amp;quot;5&amp;quot; width=&amp;quot;331&amp;quot; /&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/figure&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is slightly different from the broader goal of this effort, but nevertheless points to current work on this topic.&lt;br /&gt;
&lt;br /&gt;
== Existing Practices ==&lt;br /&gt;
&lt;br /&gt;
In many cases, classes that are used exclusively for alignment and positioning are documented here in order to have an accurate sense for how people mark up this kind of content in practice.&lt;br /&gt;
&lt;br /&gt;
=== [http://factoryjoe.com/blog FactoryCity Blog] ===&lt;br /&gt;
&lt;br /&gt;
* uses a series of &amp;lt;code&amp;gt;figure&amp;lt;/code&amp;gt; classes to markup figures. &lt;br /&gt;
* the approach used is to mark up block level figures with both &amp;lt;code&amp;gt;figure&amp;lt;/code&amp;gt; and either &amp;lt;code&amp;gt;figure-a&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;figure-c&amp;lt;/code&amp;gt; classes.&lt;br /&gt;
* &amp;lt;code&amp;gt;figure-b&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;figure-d&amp;lt;/code&amp;gt; are used for inline figures aligned right and left, respectively&lt;br /&gt;
* the a, b, c, d pattern is modeled after the top, right, bottom, left order of CSS attribute values&lt;br /&gt;
* Paul Wilkins [http://microformats.org/discuss/mail/microformats-discuss/2007-August/010421.html suggested more semantic names for these classes on µf-discuss]&lt;br /&gt;
&lt;br /&gt;
=== [http://getk2.com K2 WordPress Theme] ===&lt;br /&gt;
&lt;br /&gt;
* The K2 [http://kaytwo.googlecode.com/svn/trunk/style.css stylesheet] includes the following figure-related CSS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.center {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
.alignright {&lt;br /&gt;
	float: right;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
.alignleft {&lt;br /&gt;
	float: left&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.center, img[align=&amp;quot;center&amp;quot;] {&lt;br /&gt;
	display: block;&lt;br /&gt;
	margin-left: auto;&lt;br /&gt;
	margin-right: auto;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.alignright, img[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 0 2px 7px;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.alignleft, img[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 7px 2px 0;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.noborder {&lt;br /&gt;
	border: none !important;&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [http://code.google.com/p/habari/ Habari K2 Theme] ===&lt;br /&gt;
&lt;br /&gt;
Similar to K2, the [http://habari.googlecode.com/svn/trunk/htdocs/user/themes/k2/style.css Habari K2] instance supports the following classes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.center {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
.alignright {&lt;br /&gt;
	float: right;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
.alignleft {&lt;br /&gt;
	float: left&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.center, img[align=&amp;quot;center&amp;quot;] {&lt;br /&gt;
	display: block;&lt;br /&gt;
	margin-left: auto;&lt;br /&gt;
	margin-right: auto;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.alignright, img[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 0 2px 7px;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.alignleft, img[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 7px 2px 0;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.noborder {&lt;br /&gt;
	border: none !important;&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [http://webrevolutionary.com/coldblue ColdBlue WordPress Theme] ===&lt;br /&gt;
&lt;br /&gt;
* includes the classes &amp;lt;code&amp;gt;float-left&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;float-right&amp;lt;/code&amp;gt; for aligning figures&lt;br /&gt;
&lt;br /&gt;
=== [http://edward.oconnor.cx/ Edward O'Connor's blog] ===&lt;br /&gt;
&lt;br /&gt;
* POSH figure markup, based on several inputs:&lt;br /&gt;
** HTML5's figure element&lt;br /&gt;
** RFC 2629's figure element&lt;br /&gt;
** [http://microformats.org/discuss/mail/microformats-discuss/2007-August/010421.html Paul Wilkins' class names]&lt;br /&gt;
* Documented in [http://edward.oconnor.cx/2007/04/marking-up-figures Marking up figures], [http://edward.oconnor.cx/2007/08/figure-markup-redux Figure markup redux], and described in [http://edward.oconnor.cx/profiles/figures XMDP]&lt;br /&gt;
&lt;br /&gt;
=== Revenue Watch Institute (website forthcoming) ===&lt;br /&gt;
&lt;br /&gt;
During the development of the new website for Revenue Watch, this was what we came up with to handle figures:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/path/to/img.jpg&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;credit&amp;quot;&amp;gt;&amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;Phtotograph&amp;quot;&amp;gt;Photo&amp;lt;/abbr&amp;gt; by &amp;lt;cite&amp;gt;Bob Johnson&amp;lt;/cite&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;caption&amp;quot;&amp;gt;&amp;lt;em class=&amp;quot;title&amp;quot;&amp;gt;Figure 1&amp;lt;/em&amp;gt; Cras rutrum, enim at placerat varius, nisi massa consectetuer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Figures can be categorized as types using the &amp;quot;type&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; (here type is embedded in the credit line, using [[abbr-design-pattern|the &amp;lt;code&amp;gt;ABBR&amp;lt;/code&amp;gt; design pattern]]) - current recommendations: &amp;quot;photograph&amp;quot; or &amp;quot;illustration&amp;quot; (these could possibly be extended to include other options such as &amp;quot;chart,&amp;quot; &amp;quot;line-art&amp;quot;, etc.) (optional)&lt;br /&gt;
* The &amp;quot;title&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; can be added to any element within the figure (optional)&lt;br /&gt;
* Credit for the figure is denoted with the &amp;quot;credit&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; (optional)&lt;br /&gt;
* A caption is also available (optional)&lt;br /&gt;
&lt;br /&gt;
Default styles:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.figure {&lt;br /&gt;
  margin: 0 0 1.5em;&lt;br /&gt;
}&lt;br /&gt;
.figure p {&lt;br /&gt;
  margin: 0;&lt;br /&gt;
  width: auto;&lt;br /&gt;
}&lt;br /&gt;
.figure .credit {&lt;br /&gt;
  font-size: .8em;&lt;br /&gt;
  text-align: right;&lt;br /&gt;
}&lt;br /&gt;
.figure .credit cite {&lt;br /&gt;
  font-style: inherit;&lt;br /&gt;
}&lt;br /&gt;
.figure .caption {&lt;br /&gt;
  font-style: italic;&lt;br /&gt;
  font-size: 1.1em;&lt;br /&gt;
}&lt;br /&gt;
.figure .title {&lt;br /&gt;
  font-style: normal;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
.figure .title:after {&lt;br /&gt;
  content: &amp;quot;:&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No presentational information is added to the figures. The presentation is determined via script as a progressive enhancement ([http://www.alistapart.com/articles/figurehandler ALA article]).&lt;br /&gt;
&lt;br /&gt;
Tables receive no figure-related styles, but graphs, charts, and maps do.&lt;br /&gt;
&lt;br /&gt;
====Comments====&lt;br /&gt;
Why is &amp;quot;credit&amp;quot; not an hCard? Also, for pictures of places any geo/ hcard microformat included in the caption should be understood to be associated with the figure. There is debate elsewhere, about whether coordinates should be for the camera position, or the object photographed; with consensus coming down on the side of the former [http://commons.wikimedia.org/wiki/Commons_talk:Geocoding#Geotagging_the_camera_or_the_Objekt], [http://commons.wikimedia.org/wiki/Commons_talk:Geocoding#Camera_vs_object_location]. That said, the whole &amp;quot;figure&amp;quot; div could be an hcard, with the picture being part of that; and a separate hCard for the photographer included. Complex... [[User:AndyMabbett|Andy Mabbett]] 16:52, 21 Aug 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
I like the idea of the hCard &amp;lt;em&amp;gt;if&amp;lt;/em&amp;gt; there is more information available other than just the name. If you are just putting the person's name, I still don't see the point of making that an hCard. Add some additional data (a link, email address, etc.) and I think you have an argument. Otherwise I think it's a waste of markup and simply clutters the results of whatever hCards might exist elsewhere on the page. As for geo-data, I think that sort of information may be useful, but I think I'd prefer to see that embedded within a &amp;lt;code&amp;gt;longdesc&amp;lt;/code&amp;gt; page with more info on the image. Inside an article it seems superfluous to me. A &amp;lt;code&amp;gt;longdesc&amp;lt;/code&amp;gt; page for an image could include much more data about where it was taken, by whom (possibly even a full hCard of the creator), etc. &lt;br /&gt;
[[User:AaronGustafson|Aaron Gustafson]] 18:24, 22 Aug 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
=== [http://www.contentwithstyle.co.uk/ Content with Style] ===&lt;br /&gt;
&lt;br /&gt;
In an attempt to bring together some of the ideas suggested, an addition to the Revenue Watch example was made. [http://www.contentwithstyle.co.uk/Articles/161/figure-microformats/ This solution] is based on&lt;br /&gt;
* Edward O'Connor's [http://edward.oconnor.cx/2007/08/figure-markup-redux Figure markup redux]&lt;br /&gt;
* the [[#Revenue Watch Institute(website forthcoming)|Revenue Watch example]] and&lt;br /&gt;
* [[#HTML5|HTML5's figure element]] above&lt;br /&gt;
&lt;br /&gt;
The idea was to group meta information about the image in a legend container, just like HTML5 does. This leads to more freedom when styling the figure block, as the information can be grouped or treated separately.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;image&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;/path/to/img.jpg&amp;quot; width=&amp;quot;400&amp;quot; height=&amp;quot;602&amp;quot; alt=&amp;quot;Lorem ipsum dolor sit amet&amp;quot; /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;legend&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;p class=&amp;quot;caption&amp;quot;&amp;gt;Lorem ipsum dolor sit amet.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p class=&amp;quot;credit&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;Photograph&amp;quot;&amp;gt;Photo&amp;lt;/abbr&amp;gt;&lt;br /&gt;
      &amp;amp;amp;copy; &amp;lt;cite&amp;gt;John Doe&amp;lt;/cite&amp;gt;&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Further discussion ==&lt;br /&gt;
&lt;br /&gt;
A few blog posts capture the essence of this discussion well:&lt;br /&gt;
&lt;br /&gt;
* [http://factoryjoe.com/blog/2007/02/26/a-design-pattern-for-image-and-figure-alignment/ A design pattern for image and figure alignment]&lt;br /&gt;
* [http://edward.oconnor.cx/2007/04/marking-up-figures Marking up figures]&lt;br /&gt;
* [http://www.css3.info/styling-figures-with-css3/ Styling figures with CSS3]&lt;br /&gt;
* [http://www.simplebits.com/notebook/2005/07/10/figures.html When Floated Figures Attack!]&lt;br /&gt;
* [http://www.pearsonified.com/2007/06/how-to-format-images-for-feed-readers.php How to Format Images for Feed Readers]&lt;br /&gt;
* [http://www.contentwithstyle.co.uk/Articles/161/figure-microformats/ Figure Microformats]&lt;/div&gt;</summary>
		<author><name>MatthiasWillerich</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=figure-examples&amp;diff=23519</id>
		<title>figure-examples</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=figure-examples&amp;diff=23519"/>
		<updated>2007-11-25T12:11:32Z</updated>

		<summary type="html">&lt;p&gt;MatthiasWillerich: Added Content with Style article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;Figure examples&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This page documents examples of mark up for figures like images, captions and data tables in webpages and the class-names that they've used ''' - [[User:Chris_Messina|Chris Messina]]&lt;br /&gt;
&lt;br /&gt;
== The Problem ==&lt;br /&gt;
There are no HTML tags for identifying or marking up supporting content like illustrative images (as in encyclopaedic references), photographs and their captions, credits or licenses (as in news articles) or data tables. Typically this content can be found in close proximity to the relevant information, but oftentimes mixed with other elements.&lt;br /&gt;
&lt;br /&gt;
The goal of this effort is to document and reflect the real-world needs of such design patterns while paying close attention to the types of data that people are using in this supportive role and also paying close attention to the existing class names and presentational styles that go along with such formats.&lt;br /&gt;
&lt;br /&gt;
== Participants ==&lt;br /&gt;
* [[User:Chris_Messina | Chris Messina]]&lt;br /&gt;
* [[User:EdwardOConnor | Edward O'Connor]]&lt;br /&gt;
* [[User:AaronGustafson | Aaron Gustafson]]&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
== Real-World Examples ==&lt;br /&gt;
&lt;br /&gt;
These are examples and implementations in the wild of various efforts at marking up figures in web pages, blog posts and articles.&lt;br /&gt;
&lt;br /&gt;
=== CNET ===&lt;br /&gt;
&lt;br /&gt;
CNET uses &amp;lt;code&amp;gt;cnet-image-div&amp;lt;/code&amp;gt;, '''&amp;lt;code&amp;gt;float-left&amp;lt;/code&amp;gt;''', &amp;lt;code&amp;gt;cnet-image&amp;lt;/code&amp;gt;,  '''&amp;lt;code&amp;gt;image-credit&amp;lt;/code&amp;gt;''' and '''&amp;lt;code&amp;gt;image-caption&amp;lt;/code&amp;gt;''' to mark up supporting photographs and artwork.&lt;br /&gt;
&lt;br /&gt;
See this example: [http://blogs.cnet.com/8301-13504_1-9758731-15.html?tag=cnetfd.blogs.item Why I recommend the iPhone -- and don't.]&lt;br /&gt;
&lt;br /&gt;
=== HTML5 ===&lt;br /&gt;
&lt;br /&gt;
HTML5 introduces a new tag called [http://www.whatwg.org/specs/web-apps/current-work/multipage/section-embedded.html#figure &amp;quot;figure&amp;quot;], which represents a block-level image, along with a caption:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;figure id=&amp;quot;fig2&amp;quot;&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;legend&amp;amp;gt;Figure 2. Install Mozilla XForms dialog&amp;amp;lt;/legend&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;img alt=&amp;quot;A Web site is requesting permission to install the following item: &lt;br /&gt;
    Mozilla XForms 0.7 Unsigned&amp;quot; &lt;br /&gt;
    src=&amp;quot;installdialog.jpg&amp;quot; border=&amp;quot;0&amp;quot; height=&amp;quot;317&amp;quot; hspace=&amp;quot;5&amp;quot; vspace=&amp;quot;5&amp;quot; width=&amp;quot;331&amp;quot; /&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/figure&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is slightly different from the broader goal of this effort, but nevertheless points to current work on this topic.&lt;br /&gt;
&lt;br /&gt;
== Existing Practices ==&lt;br /&gt;
&lt;br /&gt;
In many cases, classes that are used exclusively for alignment and positioning are documented here in order to have an accurate sense for how people mark up this kind of content in practice.&lt;br /&gt;
&lt;br /&gt;
=== [http://factoryjoe.com/blog FactoryCity Blog] ===&lt;br /&gt;
&lt;br /&gt;
* uses a series of &amp;lt;code&amp;gt;figure&amp;lt;/code&amp;gt; classes to markup figures. &lt;br /&gt;
* the approach used is to mark up block level figures with both &amp;lt;code&amp;gt;figure&amp;lt;/code&amp;gt; and either &amp;lt;code&amp;gt;figure-a&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;figure-c&amp;lt;/code&amp;gt; classes.&lt;br /&gt;
* &amp;lt;code&amp;gt;figure-b&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;figure-d&amp;lt;/code&amp;gt; are used for inline figures aligned right and left, respectively&lt;br /&gt;
* the a, b, c, d pattern is modeled after the top, right, bottom, left order of CSS attribute values&lt;br /&gt;
* Paul Wilkins [http://microformats.org/discuss/mail/microformats-discuss/2007-August/010421.html suggested more semantic names for these classes on µf-discuss]&lt;br /&gt;
&lt;br /&gt;
=== [http://getk2.com K2 WordPress Theme] ===&lt;br /&gt;
&lt;br /&gt;
* The K2 [http://kaytwo.googlecode.com/svn/trunk/style.css stylesheet] includes the following figure-related CSS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.center {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
.alignright {&lt;br /&gt;
	float: right;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
.alignleft {&lt;br /&gt;
	float: left&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.center, img[align=&amp;quot;center&amp;quot;] {&lt;br /&gt;
	display: block;&lt;br /&gt;
	margin-left: auto;&lt;br /&gt;
	margin-right: auto;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.alignright, img[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 0 2px 7px;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.alignleft, img[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 7px 2px 0;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.noborder {&lt;br /&gt;
	border: none !important;&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [http://code.google.com/p/habari/ Habari K2 Theme] ===&lt;br /&gt;
&lt;br /&gt;
Similar to K2, the [http://habari.googlecode.com/svn/trunk/htdocs/user/themes/k2/style.css Habari K2] instance supports the following classes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.center {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
.alignright {&lt;br /&gt;
	float: right;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
.alignleft {&lt;br /&gt;
	float: left&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.center, img[align=&amp;quot;center&amp;quot;] {&lt;br /&gt;
	display: block;&lt;br /&gt;
	margin-left: auto;&lt;br /&gt;
	margin-right: auto;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.alignright, img[align=&amp;quot;right&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 0 2px 7px;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
img.alignleft, img[align=&amp;quot;left&amp;quot;] {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
	margin: 0 7px 2px 0;&lt;br /&gt;
	display: inline;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
img.noborder {&lt;br /&gt;
	border: none !important;&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [http://webrevolutionary.com/coldblue ColdBlue WordPress Theme] ===&lt;br /&gt;
&lt;br /&gt;
* includes the classes &amp;lt;code&amp;gt;float-left&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;float-right&amp;lt;/code&amp;gt; for aligning figures&lt;br /&gt;
&lt;br /&gt;
=== [http://edward.oconnor.cx/ Edward O'Connor's blog] ===&lt;br /&gt;
&lt;br /&gt;
* POSH figure markup, based on several inputs:&lt;br /&gt;
** HTML5's figure element&lt;br /&gt;
** RFC 2629's figure element&lt;br /&gt;
** [http://microformats.org/discuss/mail/microformats-discuss/2007-August/010421.html Paul Wilkins' class names]&lt;br /&gt;
* Documented in [http://edward.oconnor.cx/2007/04/marking-up-figures Marking up figures], [http://edward.oconnor.cx/2007/08/figure-markup-redux Figure markup redux], and described in [http://edward.oconnor.cx/profiles/figures XMDP]&lt;br /&gt;
&lt;br /&gt;
=== Revenue Watch Institute (website forthcoming) ===&lt;br /&gt;
&lt;br /&gt;
During the development of the new website for Revenue Watch, this was what we came up with to handle figures:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;img src=&amp;quot;/path/to/img.jpg&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;credit&amp;quot;&amp;gt;&amp;lt;abbr class=&amp;quot;type&amp;quot; title=&amp;quot;Phtotograph&amp;quot;&amp;gt;Photo&amp;lt;/abbr&amp;gt; by &amp;lt;cite&amp;gt;Bob Johnson&amp;lt;/cite&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;caption&amp;quot;&amp;gt;&amp;lt;em class=&amp;quot;title&amp;quot;&amp;gt;Figure 1&amp;lt;/em&amp;gt; Cras rutrum, enim at placerat varius, nisi massa consectetuer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Figures can be categorized as types using the &amp;quot;type&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; (here type is embedded in the credit line, using [[abbr-design-pattern|the &amp;lt;code&amp;gt;ABBR&amp;lt;/code&amp;gt; design pattern]]) - current recommendations: &amp;quot;photograph&amp;quot; or &amp;quot;illustration&amp;quot; (these could possibly be extended to include other options such as &amp;quot;chart,&amp;quot; &amp;quot;line-art&amp;quot;, etc.) (optional)&lt;br /&gt;
* The &amp;quot;title&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; can be added to any element within the figure (optional)&lt;br /&gt;
* Credit for the figure is denoted with the &amp;quot;credit&amp;quot; &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; (optional)&lt;br /&gt;
* A caption is also available (optional)&lt;br /&gt;
&lt;br /&gt;
Default styles:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.figure {&lt;br /&gt;
  margin: 0 0 1.5em;&lt;br /&gt;
}&lt;br /&gt;
.figure p {&lt;br /&gt;
  margin: 0;&lt;br /&gt;
  width: auto;&lt;br /&gt;
}&lt;br /&gt;
.figure .credit {&lt;br /&gt;
  font-size: .8em;&lt;br /&gt;
  text-align: right;&lt;br /&gt;
}&lt;br /&gt;
.figure .credit cite {&lt;br /&gt;
  font-style: inherit;&lt;br /&gt;
}&lt;br /&gt;
.figure .caption {&lt;br /&gt;
  font-style: italic;&lt;br /&gt;
  font-size: 1.1em;&lt;br /&gt;
}&lt;br /&gt;
.figure .title {&lt;br /&gt;
  font-style: normal;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
.figure .title:after {&lt;br /&gt;
  content: &amp;quot;:&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No presentational information is added to the figures. The presentation is determined via script as a progressive enhancement ([http://www.alistapart.com/articles/figurehandler ALA article]).&lt;br /&gt;
&lt;br /&gt;
Tables receive no figure-related styles, but graphs, charts, and maps do.&lt;br /&gt;
&lt;br /&gt;
====Comments====&lt;br /&gt;
Why is &amp;quot;credit&amp;quot; not an hCard? Also, for pictures of places any geo/ hcard microformat included in the caption should be understood to be associated with the figure. There is debate elsewhere, about whether coordinates should be for the camera position, or the object photographed; with consensus coming down on the side of the former [http://commons.wikimedia.org/wiki/Commons_talk:Geocoding#Geotagging_the_camera_or_the_Objekt], [http://commons.wikimedia.org/wiki/Commons_talk:Geocoding#Camera_vs_object_location]. That said, the whole &amp;quot;figure&amp;quot; div could be an hcard, with the picture being part of that; and a separate hCard for the photographer included. Complex... [[User:AndyMabbett|Andy Mabbett]] 16:52, 21 Aug 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
I like the idea of the hCard &amp;lt;em&amp;gt;if&amp;lt;/em&amp;gt; there is more information available other than just the name. If you are just putting the person's name, I still don't see the point of making that an hCard. Add some additional data (a link, email address, etc.) and I think you have an argument. Otherwise I think it's a waste of markup and simply clutters the results of whatever hCards might exist elsewhere on the page. As for geo-data, I think that sort of information may be useful, but I think I'd prefer to see that embedded within a &amp;lt;code&amp;gt;longdesc&amp;lt;/code&amp;gt; page with more info on the image. Inside an article it seems superfluous to me. A &amp;lt;code&amp;gt;longdesc&amp;lt;/code&amp;gt; page for an image could include much more data about where it was taken, by whom (possibly even a full hCard of the creator), etc. &lt;br /&gt;
[[User:AaronGustafson|Aaron Gustafson]] 18:24, 22 Aug 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Further discussion ==&lt;br /&gt;
&lt;br /&gt;
A few blog posts capture the essence of this discussion well:&lt;br /&gt;
&lt;br /&gt;
* [http://factoryjoe.com/blog/2007/02/26/a-design-pattern-for-image-and-figure-alignment/ A design pattern for image and figure alignment]&lt;br /&gt;
* [http://edward.oconnor.cx/2007/04/marking-up-figures Marking up figures]&lt;br /&gt;
* [http://www.css3.info/styling-figures-with-css3/ Styling figures with CSS3]&lt;br /&gt;
* [http://www.simplebits.com/notebook/2005/07/10/figures.html When Floated Figures Attack!]&lt;br /&gt;
* [http://www.pearsonified.com/2007/06/how-to-format-images-for-feed-readers.php How to Format Images for Feed Readers]&lt;br /&gt;
* [http://www.contentwithstyle.co.uk/Articles/161/figure-microformats/ Figure Microformats]&lt;/div&gt;</summary>
		<author><name>MatthiasWillerich</name></author>
	</entry>
</feed>