The canHaveHTML Property


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

Property

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

canHaveHTML

               

x

x

 

Read-only

 

Type: Boolean



Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net