177Chapter 14Document Object Model EssentialsInternet (Web site template) Explorer 5+ ExtensionsWith
177Chapter 14Document Object Model EssentialsInternet Explorer 5+ ExtensionsWith the release of IE5, Microsoft built more onto the proprietary object model it launched inIE4. Although the range of objects remained pretty much the same, the number of properties, methods, and event handlers for the objects increased dramatically. Some of those additionswere added to meet some of the specifications of the W3C DOM (discussed in the next sec- tion), occasionally causing a bit of incompatibility with IE4. But Microsoft also pushed aheadwith efforts for Windows users only that may not necessarily become industry standards: DHTML behaviors and HTML applications. A DHTML behavioris a chunk of script saved as an external file that defines some action(usually a change of one or more style properties) that you can apply to any kind of element. The goal is to create a reusable component that you can load into any document whose ele- ments require that behavior. The behavior file is known as an HTML component, and the filehas an .htcextension. Components are XML documents whose XML tags specify events andevent-handling routines for whatever element is assigned that behavior. Script statements in.htcdocuments are written inside