[uf-discuss] hcard name/fn question

Scott Reynen scott at randomchaos.com
Wed Apr 19 05:25:02 PDT 2006


On Apr 19, 2006, at 12:49 AM, Rebecca Cox wrote:

> If a number of sub-properties are specified within n, do these all  
> have to be included in fn?
>
> For example, if I had something like:
>
> ---------------------------------
>
> n:
> family-name: Cox
> given-name: Rebecca
> additional-name: Laura
> honorific-prefix: Ms
>
> Would I be able to specify fn as follows:
>
> Fn: Rebecca Cox
>
> ----------------------------------

You can do that, but unless the FN is an ordered subsection of the N,  
you'll need to repeat:

<p class="vcard">My name is
<span class="n">
	<span class="honorific-prefix">Ms</span>
	<span class="given-name">Rebecca</span>
	<span class="additional-name">Laura</span>
	<span class="family-name">Cox</span>
</span>
but you can just call me <span class="fn">Rebecca Cox</span>.</p>

Peace,
Scott


More information about the microformats-discuss mailing list