Home Backend Development XML/RSS Tutorial A detailed look at XML behavior - the new DHTML?

A detailed look at XML behavior - the new DHTML?

Mar 28, 2017 pm 05:14 PM

Behavior (behavior) is a CSS attribute selector. It points to an XML file (htc) that contains special code and can change HTML page elements.

Behavior (Behavior) is not a W3C standard, it is just a Microsoft technology.

-------------------------------------------------- ----------------------------------

Behavior - What is behavior?
Behavior is a new CSS attribute

The behavior attribute can point to a separate XML file that contains script code that can change the elements or display styles of the XML or HTML page.

Do you understand? This is a way to completely separate the script program from the HTML page. This is great, now we can write some script libraries and connect them to any element we want.

-------------------------------------------------- ----------------------------------

How do behaviors work?
Look at the HTML file below. The behavior of the

element is defined in the