![]() |
|
![]() |
||
![]() |
![]() |
|
[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date] Re: "style" question - Lists inside paragraphs
From: Orion Adrian <orion.adrian@gmail.com>
Date: Tue, 19 Jul 2005 18:24:22 -0400 Message-ID: <abd6c801050719152433a76f65@mail.gmail.com> To: www-html@w3.org XHTML2 corrects this by allowing lists inside paragraphs. In earlier versions either of the solutions you just listed would be alright. On 7/19/05, Stephen Brooks <sb@stephenbrooks.org> wrote: > > Suppose I want to write some things: > 1. One > 2. Two > 3. Three > ...in a paragraph, like I just did. How should I do that in (X)HTML? > > My natural impulse was to write a <p> with an <ol> embedded inside, but once > I started validating my work I found that this was illegal and had to resort > to an <ol> with a little <p> either side, or _perhaps_ a <div> with an <ol> > nested inside. But grammatically this seems a shame as it's really still a > paragraph. > > -Stephen > > > -- Orion AdrianReceived on Tuesday, 19 July 2005 22:25:24 GMT |
|
||||||||||||||||