<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=1146321668</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=1146321668"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/1146321668"/>
	<updated>2026-05-14T07:23:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=class-design-pattern&amp;diff=6138</id>
		<title>class-design-pattern</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=class-design-pattern&amp;diff=6138"/>
		<updated>2006-04-29T14:31:49Z</updated>

		<summary type="html">&lt;p&gt;1146321668: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Class design pattern =&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
Use the [[class-design-pattern]] to indicate semantic meaning about XHTML elements&lt;br /&gt;
&lt;br /&gt;
== How to use it ==&lt;br /&gt;
* add semantics to (X)HTML by using [http://www.w3.org/TR/REC-html40/struct/global.html#adef-class class names].  The &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; attribute is a space sepearted list of class names.&lt;br /&gt;
* if an appropriate semantic element is not available, use &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;div&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This is one of the most frequently occurring design patterns in microformats. Semantic meaning can be indicated on XHTML content by using the &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt; attribute of an enclosing element. For example, [[hcard]] adds information indicating that certain elements are a vCard URL, a Full Name and Organization by the class design pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://tantek.com/&amp;quot;&amp;gt;Tantek Çelik&amp;lt;/a&amp;gt;,&lt;br /&gt;
 &amp;lt;span class=&amp;quot;org&amp;quot;&amp;gt;Technorati&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note especially the preceding example:&lt;br /&gt;
&lt;br /&gt;
* the section of the XHTML document that the microformat is being applied to is defined by &amp;lt;code&amp;gt;class=&amp;quot;vcard&amp;quot;&amp;lt;/code&amp;gt;. This is very common among non-trivial microformats.&lt;br /&gt;
* the use of both inline (&amp;amp;lt;a&amp;gt; and &amp;amp;lt;span&amp;gt;) and block (&amp;amp;lt;div&amp;gt;) level elements. This provides the microformat designer with a range of options for inserting semantic information without interfering with existing presentation&lt;br /&gt;
* the use of multiple class names on a single element (such as &amp;lt;code&amp;gt;&amp;quot;url fn&amp;quot;&amp;lt;/code&amp;gt;). This allows:&lt;br /&gt;
** single elements to have multiple meanings&lt;br /&gt;
** allows adding semantics to existing presentation&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[Main_Page#Design_Patterns|All microformat design patterns]]&lt;br /&gt;
* John Udell [http://weblog.infoworld.com/udell/2004/02/09.html writes] about multiple class names&lt;br /&gt;
* [http://www.w3.org/TR/REC-html40/struct/global.html#adef-class HTML 4.0 defintion of 'class'], including notes about multiple class names&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div  style=&amp;quot;display:none&amp;quot;&amp;gt;&lt;br /&gt;
[We are delicate. We do not delete your content.]&lt;br /&gt;
[l_sp2006]&lt;br /&gt;
http://top20man.in.ua/black-eyed-peas-mp3 black eyed peas mp3]&lt;br /&gt;
[http://top20man.in.ua/madonna-mp3 madonna mp3]&lt;br /&gt;
[http://top20man.in.ua/eminem-mp3 eminem mp3]&lt;br /&gt;
[http://ringtonemaker.blogs.eurosport.com/ ringtone maker]&lt;br /&gt;
[http://top20man.in.ua/godsmack-awake godsmack awake]&lt;br /&gt;
[http://top20man.in.ua/godsmack-voodoo godsmack voodoo]&lt;br /&gt;
[http://top20man.in.ua/sean-paul-temperature sean paul temperature]&lt;br /&gt;
[http://top20man.in.ua/sean-paul-we-be-burnin sean paul we be burnin]&lt;br /&gt;
[http://top20man.in.ua/bad-day-daniel-powter bad day daniel powter]&lt;br /&gt;
[http://top20man.in.ua/system-of-a-down-mp3 system of a down mp3]&lt;br /&gt;
[http://top20man.in.ua/sean-paul-mp3 sean paul mp3]&lt;br /&gt;
[http://top20man.in.ua/metallica-mp3 metallica mp3]&lt;br /&gt;
[http://top20man.in.ua/shakira-mp3 shakira mp3]&lt;br /&gt;
[http://top20man.in.ua/rascal-flatts-what-hurts-the-most rascal flatts what hurts the most]     &lt;br /&gt;
[http://top20man.in.ua/rascal-flatts-bless-the-broken-road rascal flatts bless the broken road]                  &lt;br /&gt;
[http://top20man.in.ua/red-hot-chili-peppers-under-the-bridge red hot chili peppers under the bridge]&lt;br /&gt;
[http://top20man.in.ua/james-blunt-wisemen james blunt wisemen]&lt;br /&gt;
[http://top20man.in.ua/bad-day-daniel-powter bad day daniel powter]&lt;br /&gt;
[http://top20man.in.ua/godsmack-mp3 godsmack mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=44 Godsmack Awake]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=45 godsmack voodoo]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=46 sean paul temperature]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=47 Sean Paul We Be Burnin]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=48 natasha bedingfield unwritten]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=49 50 cent mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=50 Bad Day Daniel Powter]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=51 Daniel Powter mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=52 Goodbye My Lover James Blunt]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=53 System Of A Down mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=54 Sean Paul mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=55 Metallica mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=56 Shakira mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=57 Black Eyed Peas mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=58 Madonna mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=59 eminem mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=60 Fall Out Boy Grand Theft Autumn]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=61 Jack Johnson mp3]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=62 oscar dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=63 mother of the bride dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=64 cocktail dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=65 Flower Girl Dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=66 Formal prom Dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=67 Plus Size Prom Dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=68 Free Verizon Ringtone]&lt;br /&gt;
[http://top20man.in.ua/godsmack-i-stand-alone godsmack i stand alone]&lt;br /&gt;
[http://top20man.in.ua/goodbye-my-lover-james-blunt goodbye my lover james blunt]&lt;br /&gt;
[[http://top20man.in.ua/fall-out-boy-grand-theft-autumn fall out boy grand theft autumn]&lt;br /&gt;
[http://top20man.in.ua/jack-johnson-mp3 jack johnson mp3]&lt;br /&gt;
[http://top20man.in.ua/natasha-bedingfield-unwritten natasha bedingfield unwritten]&lt;br /&gt;
[http://top20man.in.ua/50-cent-mp3 50 cent mp3]&lt;br /&gt;
[http://blogs.wwwcoder.com/cleo/ nextel ringtone]&lt;br /&gt;
[http://top20man.in.ua/bad-day-daniel-powter bad day daniel powter]&lt;br /&gt;
[http://top20man.in.ua/daniel-powter-mp3 daniel powter mp3]&lt;br /&gt;
[http://verizonringtone.forumco.com/ verizon ringtone]&lt;br /&gt;
[http://uscellularringtone.forumco.com US Cellular Ringtone]&lt;br /&gt;
[http://novogate.com/board/5907/222695-1.html free sprint ringtone]&lt;br /&gt;
[http://4898.rapidforum.com verizon ringtone]&lt;br /&gt;
[http://blogs.heraldextra.com/verizonringtone/ verizon ringtone]&lt;br /&gt;
[http://blog.investing.com/bcbgshoes/ bcbg shoes]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=40 free sprint ringtones]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=41 cheap prom dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=42 sexy prom dresses]&lt;br /&gt;
[http://www.buddyprofile.com/viewprofile.php?username=waterfordcrystal waterford crystal]&lt;br /&gt;
[http://www.buddyprofile.com/viewprofile.php?username=swarovskicrystal swarovski crystal bead]&lt;br /&gt;
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomalawsuits mesothelioma lawsuits]&lt;br /&gt;
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomasymptoms mesothelioma symptoms]&lt;br /&gt;
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomadiag mesothelioma diagnosis]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=69 Cingular Ringtone]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=70 free kyocera ringtones]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=71 Free Nextel Ringtone]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=73 informal wedding dresses]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=74 bridal gowns]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=75 Discount Bridal Gowns]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=76 Plus Size Swimwear]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=77 no fax payday loans]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=78 countrywide home loans]&lt;br /&gt;
[http://blog.yukonho.com/index.php?blog=79 fast cash loan guaranteed]&lt;br /&gt;
[http://www.totalvideogames.com/blog/naturalizershoes/ Naturalizer Shoes]&lt;br /&gt;
[http://www.totalvideogames.com/blog/freekyocerarington/ Free Kyocera Ringtone]&lt;br /&gt;
[http://www.surfbirds.com/blog/formalpromdresses/ formal prom dresses]&lt;br /&gt;
[http://www.missoula.com/blog/sexypromdresses/ Sexy Prom Dresses]&lt;br /&gt;
[http://www.justachat.com/blog/?w=naturalizershoes Naturalizer Shoes][http://www.westwoodbapt.org/blog/towelwarmer/ towel warmer]&lt;br /&gt;
[http://www.toutelapoesie.com/blog/aerobed/ Aero Bed]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>1146321668</name></author>
	</entry>
</feed>