W3C home > Mailing lists > Public > www-html@w3.org > July 2005

Re: "style" question - Lists inside paragraphs

From: Tina Holmboe <tina@greytower.net>
Date: Wed, 20 Jul 2005 00:32:27 +0200 (CEST)
Message-Id: <200507192232.j6JMWRFU029561@asterix.andreasen.se>
To: www-html@w3.org

On 19 Jul, Stephen Brooks wrote:

<p>
 Suppose I want to write some things:
</p>

<ol>
 <li>One</li>
 <li>Two</li>
 <li>Three</li>
 </ol>

<p>
 &hellip; in a paragraph, like I just did.  How should I do that in (X)HTML?
 </p>



> _perhaps_ a <div> with an <ol> nested inside.  But grammatically this
> seems a shame as it's really still a paragraph.

  Two paragraphs with an ordered list inbetween. Most definitions of a
  paragraph I've ever heard of does not include ordered lists.

  In XHTML 2, it has been suggested that paragraphs can contain ... many
  things which are not usually considered paragraphs. It is my hope that
  this will be corrected soon.


-- 
 -    Tina Holmboe                    Greytower Technologies
   tina@greytower.net                http://www.greytower.net/
   [+46] 0708 557 905
Received on Tuesday, 19 July 2005 22:32:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:03 GMT