W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] <p> in <dialog>

From: Michel Fortin <michel.fortin@michelf.com>
Date: Thu, 21 Dec 2006 10:39:51 -0500
Message-ID: <98888A68-48BF-46B1-A311-606F5B1C71BA@michelf.com>
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
Received on Thursday, 21 December 2006 07:39:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC