[uf-discuss] hResume and object-based include
Brian Suda
brian.suda at gmail.com
Sun Jun 11 15:00:31 PDT 2006
Maybe i can clear-up abit of confusion,
There is an element in HTML called "ADDRESS"[1] it is confusing to
what that actually means.
According to the W3C it is:
The ADDRESS element may be used by authors to supply contact
information for a document or a major part of a document such as a
form. This element often appears at the beginning or end of a
document.
So when we use that in conjunction with hResume, it is the contact
information for the person whom the resume represents. So when we
mention ADDRESS+hCard we are intending
<address class="vcard">
<!-- the rest of your hcard here -->
</address>
The semantics Address does not mean class="adr", it means contact info.
I hope this helps clear-up a few things, the hCard FAQ[2] has abit
more information about <address>, we should start an FAQ page[3] for
hResume, any takers?
-brian
[1] - http://www.w3.org/TR/html401/struct/global.html#edef-ADDRESS
[2] - http://microformats.org/wiki/hcard-faq
[3] - http://microformats.org/wiki/hresume-faq
On 6/11/06, Steve Ganz <steve at ganz.name> wrote:
> On Jun 11, 2006, at 11:18 PM, Angus McIntyre wrote:
>
> > Finally, one other point: would it make sense to consider
> > allowing something other than <address> + vcard (i.e. <div> +
> > vcard + contact) for the contact information on a resume.
> > <address> is quite constraining for markup purposes: you
> > can't put an <h1> or a <div> inside an <address>, for
> > instance, which means that you're pretty much limited to
> > <span>. You then have the choice of either using CSS to make
> > your various <span> elements block rather than inline, or
> > larding your markup with <br />. Neither solution really appeals.
> >
>
> Hi Angus,
>
> In the hResume draft, I belive the intent of "contact info. required.
> <address> + hCard" is to specify that using hCard for contact info is
> required. Ryan can confirm this, but AFAIK, you do not have to use the
> <address> element for marking up the adr microformat in your hCard in
> hResume. What matters is the class of "adr", not the element you choose. See
> the sample in the adr specification: http://microformats.org/wiki/adr.
>
> FWIW, this is how I've marked up my hCard in my hResume at
> http://steve.ganz.name/hresume/:
>
> <div class="vcard">
> <h1 class="fn n" id="name"><a class="url" href="http://steve.ganz.name/"
> rel="me"><span class="given-name">Steve</span> <span
> class="family-name">Ganz</span></a></h1>
> <address class="adr">
> <span class="street-address">1409 La Terrace Circle</span> <span
> class="locality">San Jose</span>, <abbr class="region"
> title="California">CA</abbr> <span class="postal-code">95123</span>
> </address>
> <div class="tel"><abbr class="type" title="cell">Mobile:</abbr> <abbr
> class="value" title="+14082308134">408-230-8134</abbr></div>
> <div class="email"><abbr class="type" title="email">Email:</abbr> <a
> href="mailto:steve at ganz.name" class="value">steve at ganz.name</a></div>
> </div>
>
> Thanks,
> Steve
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
--
brian suda
http://suda.co.uk
More information about the microformats-discuss
mailing list