GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — HTML Components - Wikipedia

Not to be confused with Web Components.

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)">Example</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.

See also

  • Web components
  • HTML Template Language (HTL), supported by Adobe Experience Manager (AEM)

References

  1. ↑ declared obsolete by Microsoft as of MSIE 10 "This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10"
  2. ↑ Introduction to DHTML Behaviors
  3. ↑ MIME Types in IIS

External links

  • Using HTML Components to Implement DHTML Behaviors in Script
  • W3C Note on HTML Components
  • Using cross-browser HTML Components Archived 2010-04-10 at the Wayback Machine
  • Converting HTC behaviors to cross browser Javascript


Stub icon

This article related to a type of software is a stub. You can help Wikipedia by adding missing information.

  • v
  • t
  • e
Retrieved from "https://en.wikipedia.org/w/index.php?title=HTML_Components&oldid=1334262669"
Categories:
  • Internet Explorer
  • Software type stubs
Hidden categories:
  • Articles with short description
  • Short description is different from Wikidata
  • Webarchive template wayback links
  • All stub articles
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.