Re: "style" question - Lists inside paragraphs

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 Adrian

Received on Tuesday, 19 July 2005 22:25:24 UTC