ID Attribute

HTML (DHTML)

ID Attribute

Internet Development Index

A name that provides a unique identifier for a stroke. Read/write String.

Applies To

Stroke

Tag Syntax

<v:element id="expression">

Script Syntax

element.id="expression"

expression=element.id

Remarks

Use ID to refer to a specific stroke. Once you have created a stroke and given it an ID, you can use the ID name when you want to manipulate the stroke.

VML Standard Attribute

Example

The shape has a stroke ID called "mystroke".

   <v:shape id="rect01"
   strokecolor="red" fillcolor="red"
   style="top:20;left:20;width:30;height:30"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">
   <v:stroke id="mystroke"/>
   </v:shape>