Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

HTML Components

From Wikipedia, the free encyclopedia
Internet Explorer script component technology
Not to be confused withWeb Components.

HTML Components (HTCs) are a legacy technology[1] used to implement components inscript as DynamicHTML (DHTML) "behaviors"[2] in theMicrosoftInternet Explorerweb browser. Such files typically use an .htcextension and the "text/x-component"MIME type.[3]

An HTC is typically anHTML file (withJScript /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 aWebpageDOM.

Example

[edit]
<body><ul><listyle="behavior:url(hilite.htc)">Example</li></ul></body>

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

See also

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

References

[edit]
  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

[edit]
Versions
Main
Other
Overview
Technologies
Software and engines
Implementations
Events
People


Stub icon

This article related to a type ofsoftware is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=HTML_Components&oldid=1334262669"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp