Partilhar via


TARGETELEMENT Attribute | targetElement Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Sets or gets the target element to be animated.

Syntax

HTML <ELEMENT TARGETELEMENT = sID... >
Scripting [ sID = ] object.targetElement [ = sID ]

Possible Values

sID String that specifies or receives the value of the element's unique identifier.

The property is read/write. The property has no default value.

Remarks

If the targetElement is not specified, the parent element of the animation element is implicitly defined as the target element.

In Microsoft Internet Explorer 6, the targetElement property applies to the transitionFilter.

Applies To

t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:SET, t:TRANSITIONFILTER

See Also

Introduction to HTML+TIME, time2