"Benjamin Carlyle" wrote... > 2. My understanding is that <address> is an inline element, and it is > not legal to include certain constructs within it. I currently use a > <dl> for the hCard on my own web site, so can't put it inside and > address element. Is there a work-around for this in xhtml strict?
As per the HTML 4.01 dtd http://www.w3.org/TR/html4/loose.dtd <!--================== HTML content models ===============================--> <!-- HTML has two basic content models: %inline; character level elements and text strings %block; block-like elements e.g. paragraphs and lists --> <!ENTITY % block "P | %heading; | %list; | %preformatted; | DL | DIV | CENTER | NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | FIELDSET | ADDRESS"> <!ENTITY % flow "%block; | %inline;"> <!--=================== Document Body ====================================--><!ELEMENT ADDRESS - - (%inline;)|P)* -- information on author --> <!ATTLIST ADDRESS %attrs; -- %coreattrs, %i18n, %events -- >So, <address> is a block level element in HTML4. But I'm pretty sure it is only supposed to contain inline level content.Although, I'm not sure how much it matters.Atamido _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss
