Topic: p-tag in a p-tag (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Paranoid (IV) Inmate From: Norway |
![]() Nested P elements are schabernack. |
Lunatic (VI) Inmate From: under the bed |
![]() quote:
|
Paranoid (IV) Inmate From: Norway |
![]()
code: <p>This is the first paragraph <object> <p>This is the second paragraph <object> <p>This is the third paragraph</p> </object> </p> </object> </p> This of course is pure valid HTML. It makes no sense whatsoever to have a P in a P but it is sorta kinda technically possible. If an OBJECT is inside a P, or any element only accepting inline children, the text fallback should be a SPAN or simply a text node. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Obsessive-Compulsive (I) Inmate From: |
![]() DIV isn't allowed, either (since it's block level), so best use SPAN. |
Paranoid (IV) Inmate From: Norway |
![]() |
Paranoid (IV) Inmate From: Florida |
![]() |