[uf-discuss] <dl> inside <address>
Stephen Paul Weber
singpolyma at singpolyma.net
Thu Sep 30 09:58:54 PDT 2010
> > Specifically, when I feed:
> >
> > <address class="vcard"><dl><dd class="fn">test</dd></dl></address>
> >
> > Both of them say I didn't put an fn, but when I feed:
> >
> > <address><dl class="vcard"><dd class="fn">test</dd></dl></address>
> >
> > It works fine. Whaaaa?
>
>
> --- part of the problem might be that <address> is an inline element.
> So wrapping it around the <dl> which is block level, it might be
> ignored in the parser and therefore you lose the class="vcard".
I thought it might be something like that... shouldn't the html5 validator scream at me for that then?
More information about the microformats-discuss
mailing list