[uf-discuss] <dl> inside <address>

Ted Drake tdrake at yahoo-inc.com
Thu Sep 30 12:26:46 PDT 2010


I've been wondering about this, the HTML5 spec uses "flow content". Is that the same as saying "inline".
I was hoping to use address around a dl as well, but it looks like we need to wrap the content within a dd, but then we lose the dt labeling text.

Ted

-----Original Message-----
From: microformats-discuss-bounces at microformats.org [mailto:microformats-discuss-bounces at microformats.org] On Behalf Of Stephen Paul Weber
Sent: Thursday, September 30, 2010 9:59 AM
To: Microformats Discuss
Subject: Re: [uf-discuss] <dl> inside <address>

> > 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?
_______________________________________________
microformats-discuss mailing list
microformats-discuss at microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss



More information about the microformats-discuss mailing list