CSS List,

I am writing some PHP script that takes some user input and outputs it 
again as (hopefully) properly formatted XHTML.

The system doesn't give users access to every HTML tag, and some of the 
tags are generated automatically.

But in any case, I have four rules that I have applied that seem to work 
so far, but I just wanted to open them up to inspection by people more 
versed in CSS/HTML than me to check if I haven't created the possibility 
of future problems.

My four rules are:

1. No <p> tags within <p> tags.
2. No <div>, <hr>, <h1> to <h6>, <ul>, or <li> tags inside <p> tags.
3. No <p> tags inside <li> or <ul> tags.
4. No empty <p> tags.

Are those rules sensible from a validation point of view?

Thank you for any advice.

-- 
Dave M G
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to