The Full Wiki

More info on HTML Components

HTML Components: Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


From Wikipedia, the free encyclopedia

HTML Components (HTCs) are a nonstandard mechanism to implement components in script as Dynamic HTML (DHTML) "behaviors"[1] in the "Microsoft Internet Explorer" web browser. Such files typically use a .htc extension.

HTC is typically an HTML file (with JavaScript/VBScript) and a set elements that define the component. This helps to organize behavior encapsulated script modules that can be attached to parts of a Webpage DOM.


  <LI STYLE="behavior:url(">Foo Foo Foo</LI>

In this example, the LI element is given the behavior defined by "" (a file that contains JavaScript code defining highlight/lowlight actions on mouse over). The same can then be given to any element in the HTML page - thus encapsulating the behavior defined by this file.


  1. ^ Introduction to DHTML Behaviors

External links



Got something to say? Make a comment.
Your name
Your email address