a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

id attribute | id property

Standard XML attribute for assigning a unique name to an element.

This property is read/write.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.1Internet Explorer 10

Syntax

HTML
<element id="ptr" ... >
JavaScript
object.id = ptr
ptr = object.id

Property values

Type: DOMString

A string containing the name for the ID.

Standards information

See also

SVGElement

 

 

Show:
© 2014 Microsoft