Title Attribute

HTML (DHTML)

Title Attribute

Internet Development Index

Defines the text displayed when the mouse pointer moves over the shape. Read/write String.

Applies To

Shape

Tag Syntax

<v:element title="expression">

Script Syntax

element.title="expression"

expression=element.title

Remarks

The Title attribute is similar to the standard HTML Title attribute. The behavior of a title is similar to a Microsoft Windows ToolTip.

VML Standard Attribute

Example

The title of the shape is "ToolTip display" and will appear when the mouse pointer moves over the shape.

   <v:rect id=myrect fillcolor="red" title="ToolTip display"
   style="position:relative;top:1;left:1;width:20;height:20">
   </v:rect>

Title Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)