Behaviors Overviews and Tutorials

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

This section contains overview and tutorial articles that are available for element behaviors.


About Client Capabilities

Web developers are constantly searching for ways to design and implement sites that deliver the best user experience possible. One way to enhance user experience is to customize content based on capabilities that the client browser supports. By making this information available on the client, pages can be cached, server roundtrips minimized, server resources freed up as content generation shifts back to the client, and overall performance improved.

About Element Behaviors

Element behaviors are one of the most significant new capabilities in Microsoft Internet Explorer 5.5. They provide the capability to define custom elements, which can be used in the same way as normal HTML elements in a Web page. An element behavior can be written in script using an HTML Component (HTC) file, or it can be implemented with a binary Dynamic HTML (DHTML) behavior. Element behaviors are encapsulated components, so they can add new and interesting functionality to a Web page while improving the organization of content, functionality, and style.

About Web Folder Behaviors

The Web Folder Behaviors available as of Internet Explorer 5 and later allow users to navigate to a folder view, and include support for Distributed Authoring and Versioning (DAV) and Web Extender Client (WEC) protocols. DAV is a series of extensions to the http and defines how basic file functions, such as copy, move, delete, and create folder, are performed across http. WEC is a Microsoft FrontPage protocol that provides the same sort of functionality as DAV, in addition to its own value-added FrontPage features. Both protocols define how to set and retrieve properties on http resources.

Detectable Components in Internet Explorer

The following table lists the component identifiers that can be detected with Internet Explorer 5.

Installable Components in Internet Explorer

The following table lists the component identifiers that can be installed with Internet Explorer 5. These identifiers are used with the addComponentRequest method.

Introduction to DHTML Behaviors

One of the most exciting new features introduced in Internet Explorer 5.5 is DHTML behaviors. DHTML behaviors are components that encapsulate specific functionality or behavior on a page. When applied to a standard HTML element on a page, a behavior enhances that element's default behavior.

Security Considerations: DHTML and Default Behaviors

This document provides information about security considerations related to DHTML behaviors.

Time Formats

Lists the possible formats for expressing time values.

Using Custom Tags in Internet Explorer

This article discusses the benefits of defining custom tags in a document, as well as the details involved in using them on a page.

Using DHTML Behaviors

Applying a behavior to an element is as easy as attaching a style to an element on a page. This article covers the different approaches and considerations to applying a behavior to standard HTML elements. In addition, it presents some interesting applications of behaviors in Internet Explorer 5 and later. After reading the article, you'll be able to start applying behaviors to your own pages, isolate script from your content, and take advantage of the resulting cleaner pages.

Using HTML Components to Implement DHTML Behaviors in Script

This article outlines the steps for using HTC files to create behaviors in script.

Using the literalContent Attribute

This overview introduces you to the literalContent attribute of the PUBLIC:COMPONENT element and describes some of the ways you can use it to enhance your Web pages. Use the PUBLIC:COMPONENT element when you define an HTC and when you define the primary characteristics of a DHTML behavior. You can implement a DHTML behavior as an attached behavior, which modifies the behavior of an existing element, or as an element behavior, which defines a custom element. Use the literalContent attribute when defining an element behavior to specify whether MSHTML parses the content inside the custom element.