Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

"style" question - Lists inside paragraphs

From: Stephen Brooks <sb@stephenbrooks.org>
Date: Tue, 19 Jul 2005 23:17:17 +0100
Message-ID: <003301c58caf$a06a8cb0$6a69b351@computer>
To: <www-html@w3.org>

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 
Received on Tuesday, 19 July 2005 22:17:21 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.