Re: <div> embedded in <button>
Mark Diekhans <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
A look at the HTML spec show that Jacob is right. div has a content
type of %flow;, which is defined as:
<!ENTITY % flow "%block; | %inline;">
Thanks, I stand corrected..
Jacob Kjome <[email protected]> writes:
>
> That's not true at all. <div> may contain any content including both text
> and elements whether inline or block. The issue is that <button> is an
> inline element and, as such, can only contain text or other inline elements.