2.1.1.4 behavior

behavior of type DOMString, read/write

Sets or retrieves the location of the Dynamic HTML (DHTML) behavior. In a script implementation, the location can be an absolute or relative URL. In a binary implementation, the location is the id attribute specified for an object element. Default behaviors are identified by the string #default# plus behavior name.

behavior

Value:

<uri>

Initial:

none

Applies to:

block-level elements, table elements, and inline blocks

Inherited:

no 

Percentages:

N/A

Media:

visual

Computed value:

As specified

Values have the following meanings:

url(location)

Script implementation of DHTML behavior, where location is absolute or relative URL.

url(#id)

Binary implementation of DHMTL behavior, where id is the specified id attribute of the OBJECT element.

url(#default#behaviorName)

Windows Internet Explorer built-in default behavior, identified by behaviorName. For more information, see [MSDN-DefaultBehaviors].

Note behavior is not supported in IE11 Mode (All Versions).

Show: