Element.canHaveHTML (Property)

A flag property that indicates whether the element can contain HTML.


JScript - 5.5
Internet Explorer - 5.5
Property/method value type:Boolean primitive
JavaScript syntax:IEmyElement.canHaveHTML

If an element is able to respond to innerHTML set and get accessors and hence display some visible onscreen content, this property should yield true.

See also:Element.innerHTML, Element.innerText

Property attributes: