[whatwg] <p> in <dialog>

Michel Fortin michel.fortin at michelf.com
Thu Dec 21 07:39:51 PST 2006

I read this text recently:


and wondered how it could be marked up using <dialog>. Basically,  
it's a fictional dialogue between two persons where once in a while  
the dialogue is interrupted by actions in separate paragraphs. It  
looks much like a scene in a screenplay.

The current spec only allows <dt> and <dd> inside <dialog>, so the  
markup for something like this would require closing <dialog> each  
time an action paragraph is added and reopening it afterward.  
Wouldn't it make more sense to allow regular paragraphs in <dialog>  
for situational information and action descriptions?

Michel Fortin
michel.fortin at michelf.com

More information about the whatwg mailing list