[uf-discuss] hResume and object-based include
steve at ganz.name
Sun Jun 11 12:37:20 PDT 2006
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.
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
<h1 class="fn n" id="name"><a class="url" href="http://steve.ganz.name/"
rel="me"><span class="given-name">Steve</span> <span
<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>
<div class="tel"><abbr class="type" title="cell">Mobile:</abbr> <abbr
<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>
More information about the microformats-discuss