Jeffrey Froman schreef:

> M.E.Farmer wrote:
> 
>> Div is a block level tag and span isn't.
>> You can also group them  together and nest them.
> 
> One caveat here -- I don't believe you can (should) nest a <div>
> inside a <span>, or for that matter, nest any block-level element
> inside an inline element.

The following nesting is valid AFAIK:

  <span><object><div></div></object></span>

While this isn't:

  <span><div></div></span>


-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to