Timeline for Why can't the <p> tag contain a <div> tag inside it?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 28, 2023 at 7:24 | comment | added | Ellis | But that's not consistent with div inside div being ok, by this explanation. | |
Oct 12, 2016 at 20:39 | comment | added | Captain Hypertext | @Stoutie Right with ya, that's why Stack Overflow exists. | |
Jan 18, 2016 at 14:04 | comment | added | Mr Lister |
@Ajedi32 Yes, here. HTML5 has renamed lots of terminology, but "Permitted contents: phrasing content" means the same as the %inline bit above. See also Oriol's answer.
|
|
Jun 16, 2015 at 13:33 | comment | added | Ajedi32 | Is this still valid for HTML 5? The spec linked specifically references HTML 4, and HTML 5 doesn't have a document type definition. | |
Oct 2, 2012 at 17:18 | comment | added | Stoutie | I have a habit of avoiding the specs, the most authoritative documents we have for things like this, because they aren't fun to read. +1 for actually reading them, understanding them, and using them to answer questions. | |
Feb 4, 2012 at 15:09 | vote | accept | Henry H Miao | ||
Jan 1, 2012 at 22:43 | history | answered | Colin Campbell | CC BY-SA 3.0 |