Inside JavaScript
The canHaveHTML Property
The canHaveHTML property is much like the canHaveChildren property, except that the canHaveHTML property indicates whether an element can contain HTML content (for example, a <DIV> element can, but a <BR> element can't) rather than children. You can see the support for this property in Table 5.10. Table 5.10. The canHaveHTML Property
|