nesting block level elements

Is it correct that HTML 4 forbids
nesting other block level elements
in a P element?
How then is one supposed to markup
a paragraph containing several lines
of computer code? 
The obvious coding would be to have a
PRE element nested in the P element.
(The phrase element CODE is not useful 
for this, even if it might be in some 
perverse sense correct.)


If this question is not list-appropriate,
can someone please point me to an 
enlightening discussion elsewhere.

Thank you,
Alan Isaac

PS A similar question arises in the context
of math displays, if these will be block
level (will they?), since these are often 
an integral part of a paragraph.

Received on Friday, 22 October 1999 17:12:04 UTC