HTML Components
At the beginning, the class of mr. Achamma (we dont know his correct name) wasnt prepared for the Exam in ICT. Therefor his mission was, to teach his students properly, so they can understand and learn how HTML work. A couple of years were needed. And now,.....the time has come......How will the students make it? Is my english good? This will be known tomorrow or never. To let you guys know, how they feel now, I asked some of them, for their opinion of mr. Achamer. they said "Tomorrow we will write our ICT-exam. How much we know? Nothing. He might me a.....teacher but,....we are fu***". Thanks for the great answere and see you soon. Thanks
HTML Components (HTCs) are a legacy technology[1] used to implement components in script as Dynamic HTML (DHTML) "behaviors"[2] in the Microsoft Internet Explorer web browser. Such files typically use an .htc extension and the "text/x-component" MIME type.[3]
An HTC is typically an HTML file (with JScript / VBScript) and a set of elements that define the component. This helps to organize behavior encapsulated in script modules that can be attached to parts of a Webpage DOM.
Example
<body>
<ul>
<li style="behavior:url(hilite.htc)">Foo Foo Foo</li>
</ul>
</body>
In this example, the li element is given the behavior defined by "hilite.htc" (a file that contains JScript code defining highlight/lowlight actions on mouse over). The same hilite.htc can then be given to any element in the HTML page - thus encapsulating the behavior defined by this file.
References
External links
- Using HTML Components to Implement DHTML Behaviors in Script
- W3C Note on HTML Components
- Using cross-browser HTML Components
- Converting HTC behaviors to cross browser Javascript