:: Documentation >> Reference >>

setTag Method

Sets HTML tag for the object.

Syntax

obj.setTag(tag);

Parameters

tagStringThe new tag.

Remarks

By default each HTML object is a DIV tag. This function allows to change the tag string.

Example

obj.setTag("SPAN");

Applies To

Active.System.HTML