[uf-discuss] Best Practice for fn and n?

Ciaran McNulty mail at ciaranmcnulty.com
Mon Nov 6 01:01:11 PST 2006


On 11/6/06, Mike Schinkel <mikeschinkel at gmail.com> wrote:
> Maybe I'm missing something, but wouldn't you have to include white-space
> for a visible display anyway?  i.e.
>
> <span class="vcard">
>        <span class="n fn">
>              <span class="honorific-prefix">Mr.</span>&nbsp;
>              <span class="given-name">John</span>&nbsp;
>              <abbr class="additional-name" title="Quinlin">Q.</abbr>&nbsp;
>              <span class="family-name">Public</span>,&nbsp;
>              <span class="honorific-suffix">M.D.</span>/>
>        </span>
>  </span>

Not in HTML, no.  The whitespace between "Mr.</span>" and "<span
class="given-name"", for instance, would be normalised to a single
space when rendered.

-Ciaran McNulty


More information about the microformats-discuss mailing list