The element behavior used in this sample (LCSample2.htc) opens a message box displaying the innerText and innerHTML properties of the custom element. When the literalContent attribute is set to true, the element content is treated as Literal Content and is not rendered on the Web page. Also, the innerText property is not available for Literal Content, whereas innerHTML remains available as a read/write property. The element behavior runs the main function when the ondocumentready event is fired in the primary document.
The custom element content would appear after this sentence.
This text is inside the custom element.