I'd say the only time you need to use paragraphs inside list items is when a list item's content is made up of more than one paragraph.

On Mon, 11 Feb 2008 13:13:54 +1000, Tim MacKay <[EMAIL PROTECTED]> wrote:

Hi Taco,


In the case of the example you provided I'd say definitely no need for the nested <p> tag. The <li> tags are enough to describe the content inside them - they are items in a list. I don't see how it is a duplicate style of the
<p> tag either, in my experience it is good practice to style your lists
differently than your paragraphs.


Hope this helps,


Best Regards,


Tim


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Taco Fleur
Sent: Monday, 11 February 2008 1:52 PM
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] use of <p> in <li>


This email was sent before an update of the site and the old version did not
contain a list on the front-page (just incase someone was wondering;-)

It's now updated, and has the example list on the front-page.


  _____

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Taco Fleur
Sent: Monday, 11 February 2008 12:31 PM
To: wsg@webstandardsgroup.org
Subject: [WSG] use of <p> in <li>

Hello all,


I've been wondering about this for a while, just hesitated to ask (as it
could be a stupid question).


I've always been using <p> within <ol><li> (example, see state list on
www.web-designers-australia.com)

However, I see many people use a list without <p> tags, and style the text
within the list item by creating a duplicate style of the paragraph tag.
Just wondering, what is the way to go?


Thanks


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



--
Tyssen Design
http://www.tyssendesign.com.au
Ph: (07) 3300 3303
Mb: 0405 678 590


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to